adjust release script
This commit is contained in:
parent
06ea485e55
commit
3cb0869597
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ if [[ "v$RAW_VERSION" != "v$TAGGED_VERSION" ]]; then
|
|||
fi
|
||||
VERSION="v$RAW_VERSION"
|
||||
|
||||
if [[ $DRY_RUN == false ]]; then
|
||||
git push
|
||||
fi
|
||||
|
||||
if [[ $DRY_RUN == false ]]; then
|
||||
if [[ $(gh release list | grep -i "Draft" | grep -i "$VERSION" && echo "true" || echo "false") == "true" ]]; then
|
||||
gh release delete --yes "$VERSION"
|
||||
|
|
Loading…
Reference in a new issue