You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# docs for nfpm can be found here: https://goreleaser.com/customization/nfpm/
42
56
nfpms:
43
57
- id: kosli
44
-
45
58
# You can change the file name of the package.
46
59
#
47
60
# Default:`{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}`
@@ -83,6 +96,12 @@ nfpms:
83
96
- src: dist/{{ .ProjectName }}_{{ .Os }}_{{ if .Amd64 }}{{ .Arch }}_v1{{ else if .Arm }}{{ .Arch }}_6{{ else if eq .Arch "arm64" }}{{ .Arch }}_v8.0{{ else }}{{ .Arch }}{{ end }}/kosli
84
97
dst: /usr/local/bin/kosli
85
98
99
+
after:
100
+
hooks:
101
+
- cmd: bash scripts/npm-publish.sh "{{ .Version }}"{{ if or .IsSnapshot (not .IsRelease) }} --dry-run{{ end }}
102
+
# after hooks suppresses output by default. You need to add output: true to the hook to see the script's messages.
103
+
output: true
104
+
86
105
publishers:
87
106
- name: fury.io
88
107
# by specifying `packages` id here goreleaser will only use this publisher
0 commit comments