Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Dec 17, 2023
1 parent 5f18627 commit ecdf532
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Terraform Provider release workflow.
name: GoReleaser
name: Release

on:
push:
Expand Down
7 changes: 5 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -42,6 +42,9 @@ checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256

sboms:
- artifacts: archive

signs:
- artifacts: checksum
args:
Expand Down

0 comments on commit ecdf532

Please sign in to comment.