Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-15 18:26:04 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-15 18:26:04 +0300
Filesbbc008369971b039fb8f7d20682134171c66faab
IPL-94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a.tar
IPL-94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a.tar.gz
IPL-94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a.zip
Parentc913f6280f88529ed041f257d53702c296a20f20 (diff)
Fixed publishing on non-Windows
- changed the line-endings to UNIX
1 files changed, 23 insertions, 23 deletions
-rw-r--r--website/publish.sh46
diff --git a/website/publish.sh b/website/publish.sh
index 5959fe9..95fc770 100644
--- a/website/publish.sh
+++ b/website/publish.sh
@@ -1,23 +1,23 @@
-#!/usr/bin/sh
-
-set -e
-
-commit=`git log -n1 --format=%H`
-
-
-# Be sure that we are up-to-date
-pushd public
-git pull --ff-only
-popd
-
-rm -rf public/*
-
-hugo --minify
-
-pushd public
-
-git add --all .
-git commit -m "Published from $commit"
-git push
-
-popd
+#!/usr/bin/sh
+
+set -e
+
+commit=`git log -n1 --format=%H`
+
+
+# Be sure that we are up-to-date
+pushd public
+git pull --ff-only
+popd
+
+rm -rf public/*
+
+hugo --minify
+
+pushd public
+
+git add --all .
+git commit -m "Published from $commit"
+git push
+
+popd