We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7288cb commit 516ddbeCopy full SHA for 516ddbe
.github/workflows/create-release-pr.yml
@@ -73,8 +73,14 @@ jobs:
73
-f "previous_tag_name=$LAST_TAG" \
74
--jq '.body')
75
else
76
- echo "Generating notes from all commits (avoid too large notes)"
77
- RELEASE_NOTES="See https://github.com/progfay/scrapbox-parser/compare/a48b8366c1ec3b3e45d7e61ebc99d6a56ec3e2cf...3edb840d7220cc3246f0c01986e9decc8e316490"
+ echo "Generating notes from all commits"
+ RELEASE_NOTES=$(gh api \
78
+ --method POST \
79
+ -H "Accept: application/vnd.github+json" \
80
+ "/repos/$GITHUB_REPOSITORY/releases/generate-notes" \
81
+ -f "tag_name=v$VERSION" \
82
+ -f "target_commitish=$DEFAULT_BRANCH" \
83
+ --jq '.body')
84
fi
85
86
# Set release notes as environment variable
0 commit comments