Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(repo): revamp package publish script #133

Merged
merged 6 commits into from Jan 3, 2020
Merged

chore(repo): revamp package publish script #133

merged 6 commits into from Jan 3, 2020

Conversation

@shellscape
Copy link
Collaborator

shellscape commented Jan 2, 2020

Rollup Plugin Name: n/a

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

Fixes #24

This PR revamps the pnpm run publish -- {name} command. The new script will:

  • parse commits from last package release tag
  • determine new version
  • aggregate commits
  • write to a changelog
  • update package.json
  • publish the package
  • create a release commit and release tag
  • push commit and tag to repo

Flags are supported for forcing a particular version bump: --major, --minor, --patch.

This is going to require going through all existing changelogs to assert a title format, and adding a bare changelog where none exist. I'll submit a separate PR for those changes. This PR shouldn't be merged until changelogs are asserted.

@shellscape shellscape requested review from rollup/plugin-maintainers Jan 2, 2020
@shellscape shellscape mentioned this pull request Jan 2, 2020
3 of 9 tasks complete
@Kocal
Kocal approved these changes Jan 2, 2020
@shellscape shellscape merged commit ed22851 into master Jan 3, 2020
5 of 9 checks passed
5 of 9 checks passed
10 (Windows) 10 (Windows)
Details
10 (Windows) 10 (Windows)
Details
8 (Windows) 8 (Windows)
Details
8 (Windows) 8 (Windows)
Details
ci/circleci: analysis Your tests passed on CircleCI!
Details
ci/circleci: node-v10-latest Your tests passed on CircleCI!
Details
ci/circleci: node-v12-latest Your tests passed on CircleCI!
Details
ci/circleci: node-v8-latest Your tests passed on CircleCI!
Details
codecov/patch Coverage not affected when comparing 6f1b9f1...bb3824e
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.