diff --git a/.goreleaser.yml b/.goreleaser.yml index 1b32093..d63ec37 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,6 +3,7 @@ # This is an example goreleaser.yaml file with some defaults. # Make sure to check the documentation at http://goreleaser.com +version: 2 env: - CGO_ENABLED=0 before: @@ -86,7 +87,7 @@ builds: goarch: '386' binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}' archives: -- format: zip +- formats: [zip] files: - "LICENSE.txt" @@ -96,7 +97,7 @@ checksum: algorithm: sha256 signs: - cmd: signore - args: ["sign", "--dearmor", "--file", "${artifact}", "--out", "${signature}"] + args: ["sign", "--signer-options", "{\"type\": \"pgp\", \"dearmor\": true}", "--file", "${artifact}", "--out", "${signature}"] artifacts: checksum signature: ${artifact}.sig