diff --git a/scripts/github/update-gh-pages.sh b/scripts/github/update-gh-pages.sh index 698b0d6e0..a4f62126e 100755 --- a/scripts/github/update-gh-pages.sh +++ b/scripts/github/update-gh-pages.sh @@ -178,7 +178,7 @@ make site-build if [ -n "$_GIT_TAG" ]; then commit_hash=${GIT_TAG:10} else - commit_hash=`git describe --dirty --always` + commit_hash=`git describe --tags --dirty --always` fi # Switch to work in the gh-pages worktree