File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,17 @@ rm -f css/font/.gitignore
2424local_changes=$( git status --porcelain)
2525if [ " $commit " = " true" -a " $local_changes " != " " ]
2626then
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!"
3639fi
3740
You can’t perform that action at this time.
0 commit comments