Skip to content

Commit d96214d

Browse files
committed
updated goreleaser
1 parent e4ecc98 commit d96214d

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.goreleaser.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17+
version: 2
1718

1819
before:
1920
hooks:
2021
- go mod download
2122
- go mod tidy
23+
2224
builds:
2325
- env:
2426
- CGO_ENABLED=0
@@ -35,30 +37,41 @@ builds:
3537
- openbsd
3638
goarch:
3739
- amd64
38-
- '386'
40+
- 386
3941
- arm64
4042
- arm
4143
ignore:
4244
- goos: darwin
43-
goarch: '386'
45+
goarch: 386
4446
- goos: openbsd
4547
goarch: arm
4648
- goos: openbsd
4749
goarch: arm64
48-
binary: '{{ .ProjectName }}_v{{ .Version }}'
50+
- goos: windows
51+
goarch: arm64
52+
binary: '{{ .ProjectName }}'
53+
4954
archives:
5055
- format: zip
5156
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
57+
5258
checksum:
5359
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
5460
algorithm: sha256
61+
5562
signs:
5663
- artifacts: checksum
57-
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
64+
args:
65+
- --batch
66+
- -u
67+
- '{{ .Env.GPG_FINGERPRINT }}'
68+
- --output
69+
- '${signature}'
70+
- --detach-sign
71+
- '${artifact}'
72+
5873
release:
5974
disable: false
6075
github:
61-
owner: cloudstack
62-
name: terraform-provider-cloudstack
63-
changelog:
64-
skip: true
76+
owner: cloudstack
77+
name: terraform-provider-cloudstack

0 commit comments

Comments
 (0)