1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
1
2
# This is an example .goreleaser.yml file with some sensible defaults.
2
3
# Make sure to check the documentation at https://goreleaser.com
4
+ version : 2
3
5
before :
4
6
hooks :
5
7
# You may remove this if you don't use go modules.
@@ -118,7 +120,7 @@ builds:
118
120
- full
119
121
120
122
archives :
121
- - format : tar.gz
123
+ - formats : [' tar.gz']
122
124
allow_different_binary_count : true
123
125
# this name template makes the OS and Arch compatible with the results of uname.
124
126
name_template : >-
@@ -131,8 +133,8 @@ archives:
131
133
# use zip for windows archives
132
134
format_overrides :
133
135
- goos : windows
134
- format : zip
135
- builds :
136
+ formats : [' zip']
137
+ ids :
136
138
- sshpiperd
137
139
- plugin_workingdir
138
140
- plugin_yaml
@@ -241,14 +243,14 @@ docker_manifests:
241
243
checksum :
242
244
name_template : " checksums.txt"
243
245
snapshot :
244
- name_template : " {{ incpatch .Version }}"
246
+ version_template : " {{ incpatch .Version }}"
245
247
release :
246
248
draft : true
247
249
replace_existing_draft : true
248
250
disable : true
249
251
250
252
snapcrafts :
251
- - builds :
253
+ - ids :
252
254
- sshpiperd
253
255
- snaplauncher
254
256
- plugin_workingdir
0 commit comments