Skip to content

Commit

Permalink
Update gh-release.yml
Browse files Browse the repository at this point in the history
Fixes invalid tag
  • Loading branch information
nqkdev authored Apr 28, 2022
1 parent a3ab755 commit 2371520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
awk '/^## / { if (p) { exit }; { p=1; next } } p && NF' CHANGELOG.md > CHANGELOG.tmp
- name: Prepare tag
run: |
export TAG=$(awk '/^## / {print $2}' CHANGELOG.md)
export TAG=$(awk '/^## / {print $2; exit}' CHANGELOG.md)
echo "TAG=$TAG" >> $GITHUB_ENV
- name: Create Release
uses: actions/create-release@v1
Expand Down

0 comments on commit 2371520

Please sign in to comment.