Skip to content

Commit bac8a6e

Browse files
committed
Use draft GitHub releases so notes can be reviewed before publishing
1 parent 6c999b6 commit bac8a6e

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,14 @@ Releasing these skills is easy! Just run the following command:
324324
./release.sh
325325
```
326326

327-
This walks you through a semantic version bump (major/minor/patch), updates the version in `plugin.json`, `marketplace.json`, README badge, all `SKILL.md` files, and the CHANGELOG date, then creates a release branch and PR. After the PR is approved and merged, create a GitHub release to tag main:
327+
This walks you through a semantic version bump (major/minor/patch), updates the version in `plugin.json`, `marketplace.json`, README badge, all `SKILL.md` files, and the CHANGELOG date, then creates a release branch and PR. After the PR is approved and merged, create a draft GitHub release to tag main:
328328

329329
```bash
330-
gh release create v<version> --target main --title "v<version>" --generate-notes
330+
gh release create v<version> --target main --title "v<version>" --generate-notes --draft
331331
```
332332

333+
This generates release notes from merged PRs and saves them as a draft. Review and edit the notes at [github.com/CrowdStrike/foundry-skills/releases](https://github.com/CrowdStrike/foundry-skills/releases), then click **Publish** when ready.
334+
333335
## License
334336

335337
See [LICENSE](LICENSE) for details.

release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,11 @@ main() {
168168
git checkout main
169169

170170
printf "\n${BLUE}Step 7: After PR merges${RESET}\n"
171-
printf "\nOnce the PR is approved and merged, create a GitHub release:\n"
172-
printf " gh release create v${NEXT_VERSION} --target main --title \"v${NEXT_VERSION}\" --generate-notes\n\n"
173-
printf "This tags the merge commit on main and publishes release notes.\n\n"
171+
printf "\nOnce the PR is approved and merged, create a draft GitHub release:\n"
172+
printf " gh release create v${NEXT_VERSION} --target main --title \"v${NEXT_VERSION}\" --generate-notes --draft\n\n"
173+
printf "This creates a draft release with auto-generated notes from merged PRs.\n"
174+
printf "Review and edit the notes at https://github.com/CrowdStrike/foundry-skills/releases,\n"
175+
printf "then click Publish when ready.\n\n"
174176
printf "${GREEN}Done.${RESET}\n"
175177
}
176178

0 commit comments

Comments
 (0)