Skip to content

Commit f5d605a

Browse files
authored
Merge pull request #19951 from ahrtr/release_script_20250515
[release-3.6] Update release script to exactly match the target tag
2 parents 7a7a77c + a1bcdc7 commit f5d605a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ main() {
184184
fi
185185

186186
# Tag release.
187-
if [ "$(git tag --list | grep -c "${RELEASE_VERSION}")" -gt 0 ]; then
187+
if git tag --list | grep --quiet "^${RELEASE_VERSION}$"; then
188188
log_callout "Skipping tag step. git tag ${RELEASE_VERSION} already exists."
189189
else
190190
log_callout "Tagging release..."

0 commit comments

Comments
 (0)