Skip to content

Commit

Permalink
Remove creation of release tag (#4988)
Browse files Browse the repository at this point in the history
The release tag is now created alongside the GitHub release.
  • Loading branch information
dagnir committed Mar 6, 2024
1 parent b74e771 commit 23bc04a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions buildspecs/release-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,5 @@ phases:
- cd release
-
- git clone -o staging -b release $STAGING_REPOSITORY_URL .
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
-
- git remote add --fetch public $PUBLIC_REPOSITORY_URL
- |
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)"
-
- git push public HEAD:release
- git push public $RELEASE_VERSION

0 comments on commit 23bc04a

Please sign in to comment.