do_release.sh: fix for older git on gitlab CI

This commit is contained in:
jaseg 2020-11-18 13:39:14 +01:00
parent a817299570
commit ae624f87c1

View file

@ -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'}