Skip to content

Commit d5f209c

Browse files
committed
Update CI
1 parent 83846e2 commit d5f209c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/python-app.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ jobs:
197197
sed -i "s/^version: .*/version: $VERSION/" CITATION.cff
198198
sed -i "s/^date-released: .*/date-released: $DATE/" CITATION.cff
199199
200+
- name: Remove previous tag
201+
run: |
202+
git tag -d ${{ github.ref_name }}
203+
git push origin --delete ${{ github.ref_name }}
204+
200205
- name: Commit and re-tag
201206
uses: stefanzweifel/git-auto-commit-action@v7
202207
with:
@@ -205,8 +210,7 @@ jobs:
205210
commit_user_name: github-actions[bot]
206211
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
207212
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
208-
tagging_message: ${{ github.ref_name }} # ← Re-create tag on new commit!
209-
push_options: '--force' # ← Force push the tag
213+
tagging_message: ${{ github.ref_name }}
210214

211215
- name: Extract release notes
212216
run: |

0 commit comments

Comments
 (0)