From e2a54cafcf329ee37aa14467699ffa3fe954046a Mon Sep 17 00:00:00 2001 From: Surendra Pathak Date: Mon, 2 Oct 2023 00:15:15 -0700 Subject: [PATCH] [ISSUE-40]] Enable linux arm64 build --- .goreleaser.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) 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