Skip to content

Commit

Permalink
versionを明示的に指定
Browse files Browse the repository at this point in the history
  • Loading branch information
studiokaiji committed Oct 26, 2023
1 parent 10c75d8 commit c1db405
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ jobs:
with:
go-version: "1.21.0"

# タグ名を抽出
- name: Get the version
id: get_version
run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/}"

# リリース
- uses: goreleaser/goreleaser-action@v4
with:
args: release --clean
args: release --clean --override-name ${{ steps.get_version.outputs.VERSION }}
workdir: ./hostr
version: latest
env:
Expand Down

0 comments on commit c1db405

Please sign in to comment.