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 b14b3a8 commit 9c5d7ec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ 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%
)
git tag -d ${{ steps.tagName.outputs.tag }}
git tag ${{ steps.tagName.outputs.tag }}
- name: Push to GitHub update
run: |
Expand Down

0 comments on commit 9c5d7ec

Please sign in to comment.