File tree Expand file tree Collapse file tree 4 files changed +73
-18
lines changed
Expand file tree Collapse file tree 4 files changed +73
-18
lines changed Original file line number Diff line number Diff line change @@ -11,31 +11,32 @@ builds:
1111 goos :
1212 - linux
1313 - darwin
14+ - windows
1415
1516archives :
16- - format : tar.gz
17- # this name template makes the OS and Arch compatible with the results of `uname`.
18- name_template : >-
19- {{ .ProjectName }}_
20- {{- title .Os }}_
21- {{- if eq .Arch "amd64" }}x86_64
22- {{- else if eq .Arch "386" }}i386
23- {{- else }}{{ .Arch }}{{ end }}
24- {{- if .Arm }}v{{ .Arm }}{{ end }}
25- # use zip for windows archives
26- format_overrides :
17+ - format_overrides :
2718 - goos : windows
28- format : zip
19+ formats : ["zip"]
20+
2921checksum :
30- name_template : ' checksums.txt'
31- snapshot :
32- name_template : " {{ incpatch .Version }}-next"
22+ name_template : " checksums.txt"
23+
3324release :
3425 draft : true
3526 prerelease : auto
27+
3628changelog :
3729 sort : asc
3830 filters :
3931 exclude :
4032 - " ^docs:"
4133 - " ^test:"
34+
35+ nfpms :
36+ - maintainer : Richard Case <richard@liquidmetal.dev>
37+ vendor : Liquid Metal Project
38+ homepage : https://liquidmetal.dev/
39+ formats :
40+ - apk
41+ - deb
42+ - rpm
Original file line number Diff line number Diff line change 1+
2+
3+ .PHONY : build
4+ build : # # Build the binaries
5+ goreleaser release --snapshot --clean
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json" ,
33 "packages" : [
4- " go@1.22.9"
4+ " go@1.22.9" ,
5+ " goreleaser@latest"
56 ],
67 "shell" : {
78 "env" : {
89 "GOPATH" : " $HOME/go/" ,
9- "PATH" : " $PATH:$HOME/go/bin"
10+ "PATH" : " $PATH:$HOME/go/bin"
1011 },
1112 "init_hook" : [
1213 " export \" GOROOT=$(go env GOROOT)\" "
1516 "run_test" : " go run main.go"
1617 }
1718 }
18- }
19+ }
Original file line number Diff line number Diff line change 4848 "store_path": "/nix/store/frc5188kgv3ws0n999c7cy5vi2f8k4jp-go-1.22.9"
4949 }
5050 }
51+ },
52+ "goreleaser@latest": {
53+ "last_modified": "2025-02-12T00:10:52Z",
54+ "resolved": "github:NixOS/nixpkgs/83a2581c81ff5b06f7c1a4e7cc736a455dfcf7b4#goreleaser",
55+ "source": "devbox-search",
56+ "version": "2.7.0",
57+ "systems": {
58+ "aarch64-darwin": {
59+ "outputs": [
60+ {
61+ "name": "out",
62+ "path": "/nix/store/rgp8lyvjd2jc0n1hf8xwlcih2nh58p55-goreleaser-2.7.0",
63+ "default": true
64+ }
65+ ],
66+ "store_path": "/nix/store/rgp8lyvjd2jc0n1hf8xwlcih2nh58p55-goreleaser-2.7.0"
67+ },
68+ "aarch64-linux": {
69+ "outputs": [
70+ {
71+ "name": "out",
72+ "path": "/nix/store/8qlyfy6cp0s42h7p9qm736ygvkklfy2q-goreleaser-2.7.0",
73+ "default": true
74+ }
75+ ],
76+ "store_path": "/nix/store/8qlyfy6cp0s42h7p9qm736ygvkklfy2q-goreleaser-2.7.0"
77+ },
78+ "x86_64-darwin": {
79+ "outputs": [
80+ {
81+ "name": "out",
82+ "path": "/nix/store/hpb3rvn4y1sblrcnb636hyr7vksc64a5-goreleaser-2.7.0",
83+ "default": true
84+ }
85+ ],
86+ "store_path": "/nix/store/hpb3rvn4y1sblrcnb636hyr7vksc64a5-goreleaser-2.7.0"
87+ },
88+ "x86_64-linux": {
89+ "outputs": [
90+ {
91+ "name": "out",
92+ "path": "/nix/store/16dslcqzgwsalmhxz941v2xlvx92nhc5-goreleaser-2.7.0",
93+ "default": true
94+ }
95+ ],
96+ "store_path": "/nix/store/16dslcqzgwsalmhxz941v2xlvx92nhc5-goreleaser-2.7.0"
97+ }
98+ }
5199 }
52100 }
53101}
You can’t perform that action at this time.
0 commit comments