Skip to content

Commit a6212a7

Browse files
authored
GH-603: [Release] Suppress a nested tag warning in dev/release/release.sh (#606)
Fixes GH-603. Message from Git: hint: You have created a nested tag. The object referred to by your new tag is hint: already a tag. If you meant to tag the object that it points to, use: hint: hint: git tag -f v18.2.0 v18.2.0-rc5^{} hint: Disable this message with "git config advice.nestedTag false"
1 parent 05b13f2 commit a6212a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/release/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ esac
4545
tag="v${version}"
4646
rc_tag="${tag}-rc${rc}"
4747
echo "Tagging for release: ${tag}"
48-
git tag -a -m "${version}" "${tag}" "${rc_tag}"
48+
git tag -a -m "${version}" "${tag}" "${rc_tag}^{}"
4949
git push origin "${tag}"
5050

5151
release_id="apache-arrow-java-${version}"

0 commit comments

Comments
 (0)