mirror of
https://github.com/kami-blue/client
synced 2025-02-09 16:57:11 +00:00
make unattended nightly releases even more reliable
This commit is contained in:
parent
a28d7c1179
commit
99b5f43fb5
@ -11,6 +11,10 @@ JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"
|
||||
|
||||
CHANGELOG_FULL="$(git log --format=%s $COMMIT_TRIM...$COMMIT_LAST | sed ':a;N;$!ba;s/\n/\\n- /g')"
|
||||
|
||||
# delete the release in case it exists
|
||||
git tag -d $CUR_VER-$COMMIT_TRIM
|
||||
git push origin :refs/tags/$CUR_VER-$COMMIT_TRIM
|
||||
|
||||
# Upload the release
|
||||
cd ~/
|
||||
source ~/.profile
|
||||
|
Loading…
Reference in New Issue
Block a user