Skip to content

Commit

Permalink
GH-603: [Release] Suppress a nested tag warning in `dev/release/relea…
Browse files Browse the repository at this point in the history
…se.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"
  • Loading branch information
kou authored Feb 12, 2025
1 parent 05b13f2 commit a6212a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ esac
tag="v${version}"
rc_tag="${tag}-rc${rc}"
echo "Tagging for release: ${tag}"
git tag -a -m "${version}" "${tag}" "${rc_tag}"
git tag -a -m "${version}" "${tag}" "${rc_tag}^{}"
git push origin "${tag}"

release_id="apache-arrow-java-${version}"
Expand Down

0 comments on commit a6212a7

Please sign in to comment.