We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab10c0b commit 54c6324Copy full SHA for 54c6324
buildspecs/release-to-github.yml
@@ -21,6 +21,10 @@ phases:
21
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
22
-
23
- git remote add --fetch public $PUBLIC_REPOSITORY_URL
24
+ - |
25
+ if git show-ref --tags $RELEASE_VERSION --quiet; then
26
+ git push -d public :refs/tags/$RELEASE_VERSION
27
+ fi
28
- git tag -a $RELEASE_VERSION -m "AWS SDK for Java v2 ($RELEASE_VERSION)"
29
30
- git push public HEAD:release
0 commit comments