do_release.sh: fix for older git on gitlab CI
This commit is contained in:
parent
a817299570
commit
ae624f87c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue