diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index fcb8116..8e090ad 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -1,5 +1,4 @@ -# Terraform Provider release workflow. -name: GoReleaser +name: Release on: push: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7082505..fff34a5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,9 +13,9 @@ builds: - CGO_ENABLED=0 mod_timestamp: '{{ .CommitTimestamp }}' flags: - - -trimpath + - '-trimpath' ldflags: - - '-s -w -X main.version={{.Version}} + - '-s -w -X main.version={{.Version}}' goos: - freebsd - windows @@ -42,6 +42,9 @@ checksum: name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' algorithm: sha256 +sboms: + - artifacts: archive + signs: - artifacts: checksum args: