Skip to content

Commit

Permalink
fix(github): fix version prefix for archive (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho authored Aug 20, 2024
1 parent c4522f2 commit e7ea074
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ jobs:
prerelease: false
body: Latest builds from the last commit
files: |
./dist/gpud_${{steps.get_tag_version.outputs.TAG_VERSION}}_${{ matrix.job.target }}.tgz
./dist/gpud_v${{steps.get_tag_version.outputs.TAG_VERSION}}_${{ matrix.job.target }}.tgz
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ archives:
- gpud

name_template: >-
{{ .Binary }}_{{- .Version }}_{{- .Os }}_{{ .Arch }}
{{ .Binary }}_v{{- .Version }}_{{- .Os }}_{{ .Arch }}
# use zip for windows archives
format_overrides:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser_darwin_arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ archives:
- gpud

name_template: >-
{{ .Binary }}_{{- .Version }}_{{- .Os }}_{{ .Arch }}
{{ .Binary }}_v{{- .Version }}_{{- .Os }}_{{ .Arch }}
# use zip for windows archives
format_overrides:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser_linux_amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ archives:
- gpud

name_template: >-
{{ .Binary }}_{{- .Version }}_{{- .Os }}_{{ .Arch }}
{{ .Binary }}_v{{- .Version }}_{{- .Os }}_{{ .Arch }}
# use zip for windows archives
format_overrides:
Expand Down

0 comments on commit e7ea074

Please sign in to comment.