aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2020-11-18 14:04:23 +0100
committerjaseg <git@jaseg.de>2020-11-18 14:04:23 +0100
commit1e656525ed8e8b7497ba4d7a583d3ea0d056ed0f (patch)
tree41574a5f37f0f89865b0bcfe3226fa5f779d006b /tools
parent049fdc139626f1542bdca5fd01faf62208490b12 (diff)
downloadstm32square-1e656525ed8e8b7497ba4d7a583d3ea0d056ed0f.tar.gz
stm32square-1e656525ed8e8b7497ba4d7a583d3ea0d056ed0f.tar.bz2
stm32square-1e656525ed8e8b7497ba4d7a583d3ea0d056ed0f.zip
do_release.sh: fix variable exports
Diffstat (limited to 'tools')
-rw-r--r--tools/do_release.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/do_release.sh b/tools/do_release.sh
index bd4f087..6494cac 100644
--- a/tools/do_release.sh
+++ b/tools/do_release.sh
@@ -3,12 +3,12 @@ set -e
RELEASE_TRIGGER=${RELEASE_TRIGGER:-"Manual command-line makefile invocation"}
-set -x GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME:-'STM32Square Auto-Release Script'}
-set -x GIT_AUTHOR_EMAIL=${GIT_AUTHOR_EMAIL:-'autorelease@stm32square.jaseg.de'}
+export GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME:-'STM32Square Auto-Release Script'}
+export GIT_AUTHOR_EMAIL=${GIT_AUTHOR_EMAIL:-'autorelease@stm32square.jaseg.de'}
if [ ! -z ${GITLAB_USER_EMAIL+x} ]; then
- set -x GIT_COMMITTER_NAME="$GITLAB_USER_NAME"
- set -x GIT_COMMITTER_EMAIL="$GITLAB_USER_EMAIL"
+ export GIT_COMMITTER_NAME="$GITLAB_USER_NAME"
+ export GIT_COMMITTER_EMAIL="$GITLAB_USER_EMAIL"
fi
TIMESTAMP=${TIMESTAMP:-$(date +%y-%m-%d)}