Skip to content

Commit 4bd3946

Browse files
author
Massimiliano Pippi
authored
[skip changelog] fix archive name for nightly builds (#387)
* [skip changelog] fix archive name for nightly builds
1 parent 49d9db4 commit 4bd3946

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: .github/workflows/nightly.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
uses: actions/checkout@v1
2121

2222
- name: build
23+
env:
24+
PACKAGE_NAME_PREFIX: ${{ github.workflow }}
2325
run: goreleaser --snapshot
2426

2527
- name: upload

Diff for: .goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ checksum:
33
name_template: '{{ .Tag }}-{{ time "20060102" }}-checksums.txt'
44

55
snapshot:
6-
name_template: '{{ .Tag }}-{{ time "20060102" }}'
6+
name_template: '{{ .Env.PACKAGE_NAME_PREFIX }}-{{ time "20060102" }}'
77

88
release:
99
prerelease: auto

0 commit comments

Comments
 (0)