File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22archives :
3- - name_template : ' {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }} '
4- replacements :
5- darwin : Darwin
6- linux : Linux
7- windows : Windows
8- amd64 : x86_64
3+ - name_template : >-
4+ {{ .ProjectName }}_
5+ {{- title .Os }}_
6+ {{- if eq .Arch "amd64" }}x86_64
7+ {{- else if eq .Arch "386" }}i386
8+ {{- else }}{{ .Arch }}{{ end }}
99 format_overrides:
1010 - goos: windows
1111 format: zip
@@ -46,7 +46,7 @@ before:
4646brews :
4747 - name : updatecli
4848 folder : Formula
49- tap :
49+ repository :
5050 owner : updatecli
5151 name : homebrew-updatecli
5252 token : " {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ clean: ## Clean go test cache
1818
1919.PHONY : build
2020build : # # Build updatecli as a "dirty snapshot" (no tag, no release, but all OS/arch combinations)
21- goreleaser build --snapshot --rm-dist
21+ goreleaser build --snapshot --clean
2222
2323.PHONY : build.all
2424build.all : # # Build updatecli for "release" (tag or release and all OS/arch combinations)
25- goreleaser --rm-dist --skip-publish
25+ goreleaser --clean --skip-publish
2626
2727.PHONY : release # # Create a new updatecli release including packages
2828release : # # release.snapshot generate a snapshot release but do not published it (no tag, but all OS/arch combinations)
29- goreleaser --rm-dist
29+ goreleaser --clean
3030
3131.PHONY : release.snapshot # # Create a new snapshot release without publishing assets
3232release.snapshot : # # release.snapshot generate a snapshot release but do not published it (no tag, but all OS/arch combinations)
33- goreleaser --snapshot --rm-dist --skip-publish
33+ goreleaser --snapshot --clean --skip-publish
3434
3535.PHONY : diff
3636diff : # # Run the "diff" updatecli's subcommand for smoke test
You can’t perform that action at this time.
0 commit comments