Skip to content

Commit 9f7a8de

Browse files
committed
latest as of 01. May 2019, generated from hoijui/master b8d9c41
1 parent 6529219 commit 9f7a8de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

generate.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ rm -f css/font/.gitignore
2424
local_changes=$(git status --porcelain)
2525
if [ "$commit" = "true" -a "$local_changes" != "" ]
2626
then
27+
echo "Committing ..."
2728
git add --all
2829
branch_name=$(cd "$escher_repo" ; git rev-parse --abbrev-ref HEAD)
2930
remote_and_branch_name=$(cd "$escher_repo" ; git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD))
3031
commit_description=$(cd "$escher_repo" ; git describe --tags --always)
3132
#commit_date=$(cd "$escher_repo" ; git log -1 --format="%at" | xargs -I{} date -d @{} +"%d. %B %Y %H:%M:%S")
3233
commit_date=$(cd "$escher_repo" ; git log -1 --format="%at" | xargs -I{} date -d @{} +"%d. %B %Y")
3334
#commit_time=$(cd "$escher_repo" ; git log -1 --format="%at" | xargs -I{} date -d @{} +"%H:%M:%S")
34-
git commit --quiet --message "latest as of $commit_date, generated from $remote_and_branch_name $commit_description"
35-
echo git push --quiet
35+
git commit --quiet --message "latest as of $commit_date, generated from $remote_and_branch_name $commit_description" && \
36+
git push --quiet && \
37+
echo "Pushed!" || \
38+
echo "Failed!"
3639
fi
3740

0 commit comments

Comments
 (0)