File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,12 @@ jobs:
54
54
TAG=$([ "$BRANCH" = "main" ] && echo "$NEW_VERSION" || echo "next-$NEW_VERSION")
55
55
TITLE=$([ "$BRANCH" = "main" ] && echo "Release $NEW_VERSION" || echo "Pre-release $TAG")
56
56
PRERELEASE=$([ "$BRANCH" = "main" ] && echo "false" || echo "true")
57
+ NOTES=$(git log ${LATEST_TAG:+${LATEST_TAG}..HEAD} --pretty=format:'%s' | sed 's/^/- /' | jq -R -s -c .)
57
58
58
59
echo "tag=$TAG" >> $GITHUB_OUTPUT
59
60
echo "title=$TITLE" >> $GITHUB_OUTPUT
60
61
echo "prerelease=$PRERELEASE" >> $GITHUB_OUTPUT
61
- echo "notes=$(git log ${LATEST_TAG:+${LATEST_TAG}..HEAD} --pretty=format:'- %s') " >> $GITHUB_OUTPUT
62
+ echo "notes=$NOTES " >> $GITHUB_OUTPUT
62
63
63
64
- name : Run tests
64
65
if : steps.version.outputs.tag
You can’t perform that action at this time.
0 commit comments