mirror of https://github.com/kami-blue/client
parent
3b6e64e975
commit
999117e8f2
|
@ -12,6 +12,8 @@ BUILD_DIR=$HOME/kamiblue/build/libs/
|
|||
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')"
|
||||
# remove ' and " from changelog
|
||||
CHANGELOG_FULL="$(echo CHANGELOG_FULL | sed "s/['\"]//g")"
|
||||
|
||||
# delete the release in case it exists
|
||||
git tag -d $CUR_VER-$COMMIT_TRIM
|
||||
|
|
Loading…
Reference in New Issue