Help goreleaser find the correct git tag during release
This commit is contained in:
parent
80d7513537
commit
cd93e5643c
1 changed files with 1 additions and 0 deletions
1
.github/workflows/releases.yml
vendored
1
.github/workflows/releases.yml
vendored
|
|
@ -17,6 +17,7 @@ jobs:
|
|||
go-version: 1.13
|
||||
- name: Generate changelog
|
||||
run: |
|
||||
echo ::set-env name=GORELEASER_CURRENT_TAG::${GITHUB_REF#refs/tags/}
|
||||
git fetch --unshallow
|
||||
script/changelog | tee CHANGELOG.md
|
||||
- name: Run GoReleaser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue