bluwy / whyframe

Develop components in isolation with just an iframe

Home Page:https://whyframe.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a release script

bluwy opened this issue Β· comments

I am finally tired of releasing things manually πŸ˜„

Currently, when making new changes, update the relevant CHANGELOG.md with a description of the change under the ## Unreleased header (Create one if not available).

When releasing the script should:

  1. Scan all packages CHANGELOG.md for new changes to be published
  2. Ask which package to publish (exit if none)
  3. Select a package
  4. Ask major/minor/patch type
  5. Select a type
  6. Update package.json number
  7. Update CHANGELOG.md ## Unreleased to ## <version> (YYYY-MM-DD)
  8. git commit
  9. pnpm publish
  10. Create a new git tag
  11. Collect CHANGELOG.md and release to GitHub Release. (CLI) (Note: check if it's safe to publish local commit SHA to remote ahead of time)
  12. Done!