diff --git a/.goreleaser.yml b/.goreleaser.yml index 82f02778ffd7688816e312e1201d2ac707bc397d..69fa2f80a8612fa0ec2c71f7898dfd38242f220d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,31 +1,33 @@ -project_name: opensca-cli -builds: - - env: - - CGO_ENABLED=0 - goos: - - linux - - windows - - darwin - goarch: - - 386 - - amd64 - - arm - - arm64 - goarm: - - 6 - - 7 - id: "opensca-cli" - dir: . - binary: "opensca-cli" - main: ./cli/ -archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 -checksum: - name_template: 'checksums.txt' -snapshot: - name_template: "{{.Tag}}" \ No newline at end of file +{ + "project_name": "opensca-cli", + "builds": + [ + { + "env": ["CGO_ENABLED=0"], + "goos": ["linux", "windows", "darwin"], + "goarch": [386, "amd64", "arm", "arm64"], + "goarm": [6, 7], + "id": "opensca-cli", + "dir": ".", + "binary": "opensca-cli", + "main": "./cli/", + }, + ], + "archives": + [ + { + "replacements": + { + "386": "i386", + "darwin": "Darwin", + "linux": "Linux", + "windows": "Windows", + "amd64": "x86_64", + }, + "files": ["LICENSE", "config.json", "README.md"], + "format": "zip", + }, + ], + "checksum": { "name_template": "checksums.txt" }, + "snapshot": { "name_template": "{{.Tag}}" }, +}