diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b1e7a7..a52e067 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9d006f1..e6c7316 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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 @@ -25,6 +23,5 @@ builds: - amd64 archives: - name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" - format: binary - replacements: - amd64: x86_64 \ No newline at end of file + format: tar.gz +report_sizes: true