Fix tags in GitHub Actions checkout
This commit is contained in:
parent
3774ab0568
commit
73dd33dc64
1
.github/workflows/package.yaml
vendored
1
.github/workflows/package.yaml
vendored
@ -79,6 +79,7 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
shell: bash
|
||||
run: |
|
||||
git fetch --depth=1 origin +refs/tags/*:refs/tags/* # github is dumb
|
||||
echo "release_name=$(git tag -l --format "%(refname:strip=2): %(contents:lines=1)" ${{ github.ref_name }})" >> $GITHUB_ENV
|
||||
|
||||
- name: Release
|
||||
|
Loading…
x
Reference in New Issue
Block a user