From e375238c2c8750f164a1a6657c59ba736b82dedd Mon Sep 17 00:00:00 2001 From: Dongie Agnir Date: Mon, 5 Feb 2024 14:15:36 -0800 Subject: [PATCH] Fix tag deletion command --- buildspecs/release-to-github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspecs/release-to-github.yml b/buildspecs/release-to-github.yml index 332bc1298fbe..36cbaaebe466 100644 --- a/buildspecs/release-to-github.yml +++ b/buildspecs/release-to-github.yml @@ -23,7 +23,7 @@ phases: - 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 -d public :refs/tags/$RELEASE_VERSION + git push public :refs/tags/$RELEASE_VERSION fi - git tag -a $RELEASE_VERSION -m "AWS SDK for Java v2 ($RELEASE_VERSION)" -