Skip to content

Remove creation of release tag #4988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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