Skip to content

Commit 516ddbe

Browse files
authored
Revert "change release note template temporarily (#1924)" (#1925)
This reverts commit dccc7e6.
1 parent f7288cb commit 516ddbe

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,14 @@ jobs:
7373
-f "previous_tag_name=$LAST_TAG" \
7474
--jq '.body')
7575
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"
76+
echo "Generating notes from all commits"
77+
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')
7884
fi
7985
8086
# Set release notes as environment variable

0 commit comments

Comments
 (0)