Skip to content

Commit

Permalink
testing local
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Oct 31, 2024
1 parent 4ce61f6 commit 2c8f012
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
with:
fetch-tags: true

- name: "Configure git"
run: |
Expand Down Expand Up @@ -44,8 +46,16 @@ jobs:
- name: "Remove old tags"
run: |
if git tag -l | grep -q "^${{ env.X }}$"; then
git push --delete origin ${{ env.X }}
else
echo -e "Tag ${{ env.X }} does not exist, skipping deletion."
fi
if git tag -l | grep -q "^${{ env.X }}\.${{ env.Y }}$"; then
git push --delete origin ${{ env.X }}.${{ env.Y }}
else
echo -e "Tag ${{ env.X }}.${{ env.Y }} does not exist, skipping deletion."
fi
- name: "Create new tags"
run: |
Expand Down

0 comments on commit 2c8f012

Please sign in to comment.