Merge "Fix tag name in release workflow"

This commit is contained in:
Zuul 2021-03-15 20:01:46 +00:00 committed by Gerrit Code Review
commit f4552d3ac2

View File

@ -99,15 +99,16 @@ jobs:
sudo npm install github-release-notes -g
- name: Generate release notes
run: |
TAG_NAME=${TAG##*/}
gren changelog --override --generate \
--username airshipit --repo airshipctl \
--changelog-filename release-notes.md \
--token "$GITHUB_TOKEN" \
--tags "$TAGS" \
--tags "$TAG_NAME" \
--debug
cat release-notes.md
env:
TAGS: ${{ github.ref }}
TAG: ${{ github.ref }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v2