File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ builds:
3232 - id : build
3333 main : ./cmd/answer/.
3434 binary : answer
35- 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
35+ 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
3636 flags : -v
3737 goos :
3838 - linux
@@ -43,7 +43,7 @@ builds:
4343 - id : build-windows
4444 main : ./cmd/answer/.
4545 binary : answer
46- 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
46+ 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
4747 flags : -v
4848 goos :
4949 - windows
@@ -55,7 +55,7 @@ builds:
5555
5656archives :
5757 - name_template : >-
58- apache-answer-{{ .Version }}-incubating-{{ .Os }}-{{ .Arch }}
58+ apache-answer-{{ .RawVersion }}-incubating-bin -{{ .Os }}-{{ .Arch }}
5959 files:
6060 - src: "docs/release/LICENSE"
6161 dst: LICENSE
@@ -76,5 +76,9 @@ changelog:
7676 - ' ^docs:'
7777 - ' ^test:'
7878
79- # goreleaser release --snapshot --rm-dist
79+ source :
80+ enabled : true
81+ name_template : apache-answer-{{ .RawVersion }}-incubating-src
82+
83+ # goreleaser release --skip-validate --skip-publish --clean
8084
You can’t perform that action at this time.
0 commit comments