A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
ci(goreleaser): rename release src package name
LinkinStars615e439fd395
diff --git a/.goreleaser.yaml b/.goreleaser.yamlindex 318a2cc0..bd27419a 100644--- a/.goreleaser.yaml+++ b/.goreleaser.yaml@@ -32,7 +32,7 @@ builds:- id: buildmain: ./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=goreleaserflags: -vgoos:- linux@@ -43,7 +43,7 @@ builds:- id: build-windowsmain: ./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=goreleaserflags: -vgoos:- windows@@ -55,7 +55,7 @@ builds: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 +76,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