Skip to content

Commit

Permalink
优化更新流程
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Nov 15, 2024
1 parent 128832c commit b14b3a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
run: |
git add -f ok/
git commit --amend --no-edit
for /f %%i in ('git rev-parse HEAD') do set new_commit=%%i
for /f %%i in ('git tag --points-at HEAD@{1}') do (
git tag -d %%i git tag %%i %new_commit%
)
- name: Push to GitHub update
run: |
Expand Down

0 comments on commit b14b3a8

Please sign in to comment.