Skip to content

Commit

Permalink
Merge pull request #67 from RoseSecurity/update-goreleaser
Browse files Browse the repository at this point in the history
fix: update and fix goreleaser
  • Loading branch information
RoseSecurity authored Nov 29, 2024
2 parents 005d2c2 + c54f567 commit 634f57f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,28 @@ builds:
- env:
- CGO_ENABLED=0
ldflags:
- '-s -w -X "github.com/rosesecurity/Terramaid/cmd.Version={{.Version}}"'
- '-s -w -X "github.com/RoseSecurity/terramaid/cmd.Version={{.Version}}"'
goos:
- linux
- windows
- darwin

nfpms:
- id: deb
formats:
- deb
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
maintainer: RoseSecurity <[email protected]>
description: |-
A utility for generating Mermaid diagrams from Terraform configurations
dependencies:
- bash
contents:
- src: ./dist/{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}.deb
dst: /usr/local/bin/{{ .ProjectName }}
homepage: "https://github.com/RoseSecurity/Terramaid"
license: Apache 2.0

archives:
- format: tar.gz
name_template: >-
Expand Down

0 comments on commit 634f57f

Please sign in to comment.