Skip to content

Commit 79925ff

Browse files
authored
Fix broken tag script (#429)
1 parent c1d5f61 commit 79925ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tools/scripts/tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set -e
2020
git tag -a ${GBOC_TAG} -m "Update to OpenTelemetry Collector version ${GBOC_TAG}"
2121
printf "Created git tag ${GBOC_TAG}. Would you like to push? (y/n) "
2222
read yn
23-
if [ $yn != ${yn#[Yy]} ]; then
23+
if [ "$yn" != "${yn#[Yy]}" ]; then
2424
git push origin ${GBOC_TAG}
2525
else
2626
git tag -d ${GBOC_TAG}

0 commit comments

Comments
 (0)