Skip to content

Commit ee2cf66

Browse files
author
Joe Doss
committed
Add missing variables.
1 parent cc4ceb6 commit ee2cf66

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.goreleaser.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
version: 2
44
project_name: step
55

6+
variables:
7+
packageName: step-cli
8+
packageRelease: 1 # Manually update release: in the nfpm section to match this value if you change this
9+
610
before:
711
hooks:
812
- go mod download
@@ -92,7 +96,8 @@ nfpms:
9296
- &NFPM
9397
builds:
9498
- nfpm
95-
package_name: step-cli
99+
package_name: "{{ .Var.packageName }}"
100+
release: "1"
96101
file_name_template: "{{.ConventionalFileName}}"
97102
vendor: Smallstep Labs
98103
homepage: https://github.com/smallstep/cli

0 commit comments

Comments
 (0)