Skip to content

Commit 2371520

Browse files
authored
Update gh-release.yml
Fixes invalid tag
1 parent a3ab755 commit 2371520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/gh-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
awk '/^## / { if (p) { exit }; { p=1; next } } p && NF' CHANGELOG.md > CHANGELOG.tmp
2121
- name: Prepare tag
2222
run: |
23-
export TAG=$(awk '/^## / {print $2}' CHANGELOG.md)
23+
export TAG=$(awk '/^## / {print $2; exit}' CHANGELOG.md)
2424
echo "TAG=$TAG" >> $GITHUB_ENV
2525
- name: Create Release
2626
uses: actions/create-release@v1

0 commit comments

Comments
 (0)