File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments