Skip to content

Commit

Permalink
Update: リリース時にタグを付け替える
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Dec 3, 2024
1 parent 90bffde commit b1ff36e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,3 +431,16 @@ jobs:
dist_electron/nsis-web/out/*.7z.*
dist_electron/nsis-web/*.exe
target_commitish: ${{ github.sha }}

update-tag-to-current-commit:
if: ${{ (github.event.release.tag_name || github.event.inputs.version) != '' }}
needs: [build-and-upload]
runs-on: ubuntu-latest
steps:
- name: <Setup> Check out the repository
uses: actions/checkout@v4

- name: <Deploy> Change tag to this commit for refreshing the release # c.f. voicevox_engine#854
run: |
git tag -f ${{ github.event.release.tag_name || github.event.inputs.version }}
git push -f --tag

0 comments on commit b1ff36e

Please sign in to comment.