aboutsummaryrefslogtreecommitdiff
path: root/tools/do_release.sh
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2020-11-18 13:36:59 +0100
committerjaseg <git@jaseg.de>2020-11-18 13:36:59 +0100
commita817299570cef674173b87eeba77e15f26d7cd0d (patch)
tree53b17ce80ebd5b9303aa920ac581ed6043c2117b /tools/do_release.sh
parent51987e1e3b00f89af3c0e72ea8ad760284dc8b84 (diff)
downloadstm32square-a817299570cef674173b87eeba77e15f26d7cd0d.tar.gz
stm32square-a817299570cef674173b87eeba77e15f26d7cd0d.tar.bz2
stm32square-a817299570cef674173b87eeba77e15f26d7cd0d.zip
Fix missing dependencies and variable exports
Diffstat (limited to 'tools/do_release.sh')
-rw-r--r--tools/do_release.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/do_release.sh b/tools/do_release.sh
index f510709..8171334 100644
--- a/tools/do_release.sh
+++ b/tools/do_release.sh
@@ -1,14 +1,15 @@
#!/bin/sh
+set -e
SOURCE_BRANCH=$(git branch --show-current)
RELEASE_TRIGGER=${RELEASE_TRIGGER:-"Manual command-line makefile invocation"}
-GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME:-'STM32Square Auto-Release Script'}
-GIT_AUTHOR_EMAIL=${GIT_AUTHOR_EMAIL:-'autorelease@stm32square.jaseg.de'}
+set -x GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME:-'STM32Square Auto-Release Script'}
+set -x GIT_AUTHOR_EMAIL=${GIT_AUTHOR_EMAIL:-'autorelease@stm32square.jaseg.de'}
if [ ! -z ${GITLAB_USER_EMAIL+x} ]; then
- GIT_COMMITTER_NAME="$GITLAB_USER_NAME"
- GIT_COMMITTER_EMAIL="$GITLAB_USER_EMAIL"
+ set -x GIT_COMMITTER_NAME="$GITLAB_USER_NAME"
+ set -x GIT_COMMITTER_EMAIL="$GITLAB_USER_EMAIL"
fi
TIMESTAMP=${TIMESTAMP:-$(date +%y-%m-%d)}