Skip to content
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
8 changes: 6 additions & 2 deletions .github/workflows/tool-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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: |
Expand Down
Loading