Skip to content

Commit eab6c2c

Browse files
committed
Use GITHUB_REF_SLUG instead of GITHUB_REF
1 parent 699a1f8 commit eab6c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ builds:
66
- 386
77
- amd64
88
ldflags:
9-
- -s -w -X main.Version={{ .Env.GITHUB_REF }}
9+
- -s -w -X main.Version={{ .Env.GITHUB_REF_SLUG }}

0 commit comments

Comments
 (0)