Skip to content

Commit

Permalink
Fixing file name template maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcc committed Nov 24, 2023
1 parent 775c818 commit 768bd92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ nfpms:
package_name: cloudcored
builds:
- cloudcored
file_name_template: |
{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}_{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
vendor: cloudcore
homepage: https://cloudcore.clarkmccauley.com/
maintainer: Clark McCauley
Expand All @@ -38,7 +40,6 @@ nfpms:
- deb
scripts:
preinstall: scripts/linux/preinstall.sh
file_name_template: "{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}_{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}"
# todo: Setup systemd service
# postinstall: scripts/linux/postinstall.sh
# preremove: scripts/linux/preremove.sh
Expand Down

0 comments on commit 768bd92

Please sign in to comment.