diff --git a/.github/workflows/tool-create-release.yml b/.github/workflows/tool-create-release.yml index a599f9e8..71d4f444 100644 --- a/.github/workflows/tool-create-release.yml +++ b/.github/workflows/tool-create-release.yml @@ -42,7 +42,7 @@ jobs: exit 1 fi - - name: Create Github tag + - name: Create GitHub tag run: | git config --global user.name "github-actions" git config --global user.email "github-actions@github.com" @@ -56,9 +56,13 @@ jobs: git config user.email "github-actions@github.com" floating_tag="v${tag%%.*}" git tag -d $floating_tag + echo "${floating_tag} deleted locally." + git push --delete origin $floating_tag + echo "${floating_tag} deleted from origin." git tag -a $floating_tag -m "Floating tag for v${tag%%.*}" git push origin $floating_tag - + echo "${floating_tag} pushed to origin." + - name: Create new floating tag (Major Version) if: endsWith(env.tag, '.0.0') run: |