Skip to content

Commit

Permalink
Update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Nov 14, 2023
1 parent 1747572 commit 8aa7ef7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ then
git tag $VERSION $COMMIT_ID -m "Release of version $VERSION"
git push --tags
echo "Done!"
gh release create "$VERSION" -F CHANGELOG.md
TMP_CL_FILE=changelog-tmp.md
awk '/^## / {p=1; ++count} count == 2 {exit} p' CHANGELOG.md > $TMP_CL_FILE
gh release create "$VERSION" -F $TMP_CL_FILE
rm $TMP_CL_FILE
else
echo "Aborting"
fi

0 comments on commit 8aa7ef7

Please sign in to comment.