diff options
author | jaseg <git@jaseg.de> | 2020-11-18 13:39:14 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-11-18 13:39:14 +0100 |
commit | ae624f87c18699ae082fabf9f4193839425af68a (patch) | |
tree | b9c9fa3a0055d2460f3c76d77dad4d2587203d1d | |
parent | a817299570cef674173b87eeba77e15f26d7cd0d (diff) | |
download | stm32square-ae624f87c18699ae082fabf9f4193839425af68a.tar.gz stm32square-ae624f87c18699ae082fabf9f4193839425af68a.tar.bz2 stm32square-ae624f87c18699ae082fabf9f4193839425af68a.zip |
do_release.sh: fix for older git on gitlab CI
-rw-r--r-- | tools/do_release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/do_release.sh b/tools/do_release.sh index 8171334..7bbf609 100644 --- a/tools/do_release.sh +++ b/tools/do_release.sh @@ -1,7 +1,7 @@ #!/bin/sh set -e -SOURCE_BRANCH=$(git branch --show-current) +SOURCE_BRANCH=$(git rev-parse --abbrev-ref HEAD) RELEASE_TRIGGER=${RELEASE_TRIGGER:-"Manual command-line makefile invocation"} set -x GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME:-'STM32Square Auto-Release Script'} |