mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-22 02:50:14 +10:00
fix: don't recreate release [skip ci]
This commit is contained in:
@@ -18,7 +18,7 @@ fi
|
||||
|
||||
npm install -g github-release-cli
|
||||
|
||||
if [[ $( gh release view "${RELEASE_VERSION}" 2>&1 ) =~ "release not found" ]]; then
|
||||
if [[ $( gh release view --repo "${OWNER}/${REPOSITORY}" "${RELEASE_VERSION}" 2>&1 ) =~ "release not found" ]]; then
|
||||
echo "Creating release '${RELEASE_VERSION}'"
|
||||
gh release create --repo "${OWNER}/${REPOSITORY}" "${RELEASE_VERSION}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user