Skip to content

Commit

Permalink
Fix goreleaser file (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnstoppableMango committed Dec 3, 2023
1 parent 97673e6 commit 54e0bcd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
archives:
- id: archive
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'before:
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
before:
hooks:
- make tfgen
builds:
Expand All @@ -17,11 +18,12 @@ builds:
- linux
ldflags:
# The line below MUST align with the module in current provider/go.mod
- -X github.com/unmango/pulumi-pihole/provider/pkg/version.Version={{.Tag }} main: ./cmd/pulumi-resource-pihole/
- -X github.com/unmango/pulumi-pihole/provider/pkg/version.Version={{.Tag }}
main: ./cmd/pulumi-resource-pihole/
changelog:
skip: true
release:
disable: false
prerelease: auto
snapshot:
name_template: '{{ .Tag }}-SNAPSHOT'
name_template: '{{ .Tag }}-SNAPSHOT'

0 comments on commit 54e0bcd

Please sign in to comment.