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 3fd706c commit f341f72Copy full SHA for f341f72
.github/workflows/ci_cd_release.yml
@@ -58,15 +58,15 @@ jobs:
58
59
- name: "Remove MAJOR tag"
60
run: |
61
- if git tag -l | grep -q "^v${{ env.MAJOR }}"; then
+ if git tag -l | grep -q "^v${{ env.MAJOR }}$"; then
62
git push --delete origin v${{ env.MAJOR }}
63
else
64
echo -e "Tag v${{ env.MAJOR }} does not exist, skipping deletion."
65
fi
66
67
- name: "Remove MAJOR.MINOR tag"
68
69
- if git tag -l | grep -q "^v${{ env.MAJOR }}\.${{ env.MINOR }}"; then
+ if git tag -l | grep -q "^v${{ env.MAJOR }}\.${{ env.MINOR }}$"; then
70
git push --delete origin v${{ env.MAJOR }}.${{ env.MINOR }}
71
72
echo -e "Tag v${{ env.MAJOR }}.${{ env.MINOR }} does not exist, skipping deletion."
0 commit comments