Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
kooksee committed May 30, 2024
1 parent 6937a36 commit 61f9714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
7 changes: 2 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ builds:
goarch:
- amd64
ldflags:
- -X 'github.com/pubgo/protobuild/version.BuildTime={{ .Date }}'
- -X 'github.com/pubgo/protobuild/version.CommitID={{ .Commit }}'
- -X 'github.com/pubgo/protobuild/version.Version={{ .Version }}'
- main: ./cmd/protoc-gen-retag/main.go
id: protoc-gen-retag
Expand All @@ -25,6 +23,5 @@ builds:
- amd64
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
format: binary
replacements:
amd64: x86_64
format: tar.gz
report_sizes: true

0 comments on commit 61f9714

Please sign in to comment.