justinmclean opened a new issue, #6870:
URL: https://github.com/apache/gravitino/issues/6870
### Version
main branch
### Describe what's wrong
The release script will tag the wrong branch if the tag has not been created
- note the use of the main branch below rather than the release branch.
```
rm -rf gravitino
git clone
"https://$ASF_USERNAME:$ENCODED_ASF_PASSWORD@$ASF_GRAVITINO_REPO" -b main
cd gravitino
git tag "v$RELEASE_VERSION" "$RELEASE_TAG"
git push origin "v$RELEASE_VERSION"
cd ..
rm -rf gravitino
echo "git tag v$RELEASE_VERSION created"
```
### Error message and/or stacktrace
N/A
### How to reproduce
run the release script without the release tag having been created
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]