Skip to content

Commit

Permalink
Also delete local release tag (#4943)
Browse files Browse the repository at this point in the history
If the tag exists in public, then it exists locally too since we fetched all of
public when adding it as a remote. Also delete this local tag so it doesn't fail
when we recreate it.
  • Loading branch information
dagnir authored Feb 20, 2024
1 parent bbe8698 commit 85bf7bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildspecs/release-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ phases:
- |
if [ `git ls-remote --tags public | grep refs/tags/$RELEASE_VERSION | wc -l` -ge "1" ]; then
git push public :refs/tags/$RELEASE_VERSION
git tag --delete $RELEASE_VERSION
fi
- git tag -a $RELEASE_VERSION -m "AWS SDK for Java v2 ($RELEASE_VERSION)"
-
Expand Down

0 comments on commit 85bf7bf

Please sign in to comment.