diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7c56d00..2f6cf25 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,21 +6,21 @@ env: before: hooks: - go mod tidy - + gomod: - proxy: true + proxy: true builds: - - id: binaries + - id: binaries binary: sbomex-{{ .Os }}-{{ .Arch }} main: . flags: - - -trimpath + - -trimpath mod_timestamp: '{{ .CommitTimestamp }}' goos: - linux - windows - - darwin + - darwin goarch: - arm64 - amd64 @@ -30,18 +30,16 @@ builds: - CGO_ENABLED=0 no_unique_dist_dir: true ignore: - - goos: linux - goarch: arm64 - goos: windows goarch: arm64 archives: - format: binary name_template: "{{ .Binary }}" - allow_different_binary_count: true + allow_different_binary_count: true -snapshot: +snapshot: name_template: SNAPSHOT-{{ .ShortCommit }} release: - prerelease: allow - draft: true + prerelease: allow + draft: true