File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,35 +143,18 @@ git push
143143git push origin " $TAG_NAME "
144144
145145# Create GitHub release
146- print_info " Creating GitHub release..."
146+ print_info " Creating GitHub release with auto-generated notes ..."
147147
148- # Prepare release notes with auto-generated content
149- RELEASE_NOTES=" ## $NEW_VERSION
150-
151- This is the $NEW_VERSION release of subway.
152-
153- ### Installation
154-
155- \`\`\` bash
156- cargo install subway --version $NEW_VERSION
157- \`\`\`
158-
159- Or download the prebuilt binary from the assets below.
160-
161- ### What's Changed
162-
163- Full changelog: https://github.com/AcalaNetwork/subway/compare/v${CURRENT_VERSION} ...v${NEW_VERSION} "
164-
165- # Create the release
148+ # Create the release with auto-generated notes
166149if [ " $PRE_RELEASE " = true ]; then
167150 gh release create " $TAG_NAME " \
168151 --title " $TAG_NAME " \
169- --notes " $RELEASE_NOTES " \
152+ --generate- notes \
170153 --prerelease
171154else
172155 gh release create " $TAG_NAME " \
173156 --title " $TAG_NAME " \
174- --notes " $RELEASE_NOTES "
157+ --generate- notes
175158fi
176159
177160print_info " Release $NEW_VERSION created successfully!"
You can’t perform that action at this time.
0 commit comments