update release script

This commit is contained in:
Carson McManus 2023-07-09 11:09:08 -04:00
parent e5b76fe4a4
commit d31a1435c2

View file

@ -109,5 +109,5 @@ if [[ $DRY_RUN == false ]]; then
if [[ $(gh release list | grep -i "Draft" | grep -i "$VERSION" && echo "true" || echo "false") == "true" ]]; then if [[ $(gh release list | grep -i "Draft" | grep -i "$VERSION" && echo "true" || echo "false") == "true" ]]; then
gh release delete --yes "$VERSION" gh release delete --yes "$VERSION"
fi fi
gh release create "$VERSION" --discussion-category "General" --title "$VERSION" --draft "$BIN_PATH" "$BIN_PATH2" "./steamguard-cli_$RAW_VERSION-0.deb" gh release create "$VERSION" --discussion-category "General" --title "$VERSION" "$BIN_PATH" "$BIN_PATH2" "./steamguard-cli_$RAW_VERSION-0.deb"
fi fi