We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7a77c commit a1bcdc7Copy full SHA for a1bcdc7
scripts/release.sh
@@ -184,7 +184,7 @@ main() {
184
fi
185
186
# Tag release.
187
- if [ "$(git tag --list | grep -c "${RELEASE_VERSION}")" -gt 0 ]; then
+ if git tag --list | grep --quiet "^${RELEASE_VERSION}$"; then
188
log_callout "Skipping tag step. git tag ${RELEASE_VERSION} already exists."
189
else
190
log_callout "Tagging release..."
0 commit comments