Fix do_release.sh

This commit is contained in:
jaseg 2020-11-18 13:32:21 +01:00
parent 04f46bfc5b
commit 51987e1e3b

View file

@ -1,5 +1,4 @@
#!/bin/sh
set -euo pipefail
SOURCE_BRANCH=$(git branch --show-current)
RELEASE_TRIGGER=${RELEASE_TRIGGER:-"Manual command-line makefile invocation"}
@ -15,7 +14,7 @@ fi
TIMESTAMP=${TIMESTAMP:-$(date +%y-%m-%d)}
git checkout release
#make clean
make clean all
git merge -X theirs $SOURCE_BRANCH
git add svd mx_mcu_db prog_db chip_db
git commit --allow-empty -m "STM32Square Auto-Release $TIMESTAMP