This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a commit to branch ci/rename in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit b4905fa5da6d105605b503fb26f63aebbda16bc0 Author: LinkinStars <[email protected]> AuthorDate: Wed Dec 27 22:43:24 2023 +0800 ci(goreleaser): rename release src package name --- .goreleaser.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 318a2cc0..264eea5d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -32,7 +32,7 @@ builds: - id: build main: ./cmd/answer/. binary: answer - ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.Version}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser + ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.RawVersion}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser flags: -v goos: - linux @@ -50,12 +50,9 @@ builds: goarch: - amd64 - - - archives: - name_template: >- - apache-answer-{{ .Version }}-incubating-{{ .Os }}-{{ .Arch }} + apache-answer-{{ .RawVersion }}-incubating-bin-{{ .Os }}-{{ .Arch }} files: - src: "docs/release/LICENSE" dst: LICENSE @@ -76,5 +73,9 @@ changelog: - '^docs:' - '^test:' -# goreleaser release --snapshot --rm-dist +source: + enabled: true + name_template: apache-answer-{{ .RawVersion }}-incubating-src + +# goreleaser release --skip-validate --skip-publish --clean
