diff options
| Commit | 94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a (patch) | |
|---|---|---|
| Author | 2018-09-15 18:26:04 +0300 | |
| Committer | 2018-09-15 18:26:04 +0300 | |
| Files | bbc008369971b039fb8f7d20682134171c66faab | |
| IPL-94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a.tar IPL-94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a.tar.gz IPL-94aa9853bb6bf70b95e96575fbcc42b6c10b2d5a.zip | ||
| Parent | c913f6280f88529ed041f257d53702c296a20f20 (diff) | |
Fixed publishing on non-Windows
- changed the line-endings to UNIX
1 files changed, 23 insertions, 23 deletions
| -rw-r--r-- | website/publish.sh | 46 |
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 |
