diff options
author | jaseg <git@jaseg.de> | 2020-11-18 13:51:03 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-11-18 13:51:03 +0100 |
commit | 620fc833e3e307f5ad3b04c5bc4101d71673c7cb (patch) | |
tree | 2c76eb528f59e468bb2eecfbc54f870dfac5f53f /tools | |
parent | 68497cc5f1016710cf213de7849e96ae6147d13d (diff) | |
download | stm32square-620fc833e3e307f5ad3b04c5bc4101d71673c7cb.tar.gz stm32square-620fc833e3e307f5ad3b04c5bc4101d71673c7cb.tar.bz2 stm32square-620fc833e3e307f5ad3b04c5bc4101d71673c7cb.zip |
do_release.sh: Fix branching logic
Diffstat (limited to 'tools')
-rw-r--r-- | tools/do_release.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/do_release.sh b/tools/do_release.sh index 3bcacb1..ad7bba3 100644 --- a/tools/do_release.sh +++ b/tools/do_release.sh @@ -13,8 +13,7 @@ fi TIMESTAMP=${TIMESTAMP:-$(date +%y-%m-%d)} -git checkout release -git merge -X theirs --no-commit master +git pull -X theirs --no-commit master make clean all git add svd mx_mcu_db prog_db chip_db @@ -69,5 +68,5 @@ git tag -a "v-productdb-$PRODUCTDB_VERSION" -m "Auto-release for STM32 Product D if [ ! -z ${GITLAB_ACCESS_TOKEN+x} ]; then git remote add -f ci-origin https://oauth2:${GITLAB_ACCESS_TOKEN}@gitlab.com/${CI_PROJECT_PATH} - git push --tags --force ci-origin master:release + git push --tags --force ci-origin fi |