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

Swap lerna with release-it #2058

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Swap lerna with release-it #2058

merged 1 commit into from
Sep 26, 2024

Conversation

anselmbradford
Copy link
Member

@anselmbradford anselmbradford commented Sep 25, 2024

Changes

  • Swap lerna with release-it.
  • Add auto-changelog and a changelog handlebars template for formatting the changelog.
  • Rename the root CHANGELOG.md to HISTORY.md
  • Add a CHANGELOG.md to the cfpb-design-system package, with version v3+.

Testing

  1. In package.json, add --dry-run to the release script and then run yarn release and it should allow you to select the version to release.

Notes

  • I'm ignoring the merge title pattern that decap adds, to avoid putting decap edits in the package changelog. I don't love depending on the merge title, but that seemed to be the only way to do it with auto-changelog.
  • I wasn't getting the GitHub release notes to populate correctly, but I wasn't sure if this was because it was a dry run. We'll likely want to do some adjustments after doing some live releases.

@anselmbradford anselmbradford changed the title Swap lerna for release-it Swap lerna with release-it Sep 25, 2024
Copy link

netlify bot commented Sep 25, 2024

Thanks for the improvements! Browse a preview of your changes using the link below.

Name Link
🔨 Latest commit 3eb955a
🔍 Latest deploy log https://app.netlify.com/sites/cfpb-design-system/deploys/66f57cf35de3d300088c42bd
😎 Deploy Preview https://deploy-preview-2058--cfpb-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@anselmbradford anselmbradford force-pushed the ans_releaseit branch 3 times, most recently from 8598904 to e3708bb Compare September 25, 2024 20:40
Copy link
Member

@contolini contolini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm excited to try this!

@anselmbradford anselmbradford merged commit a95f830 into main Sep 26, 2024
8 checks passed
@anselmbradford anselmbradford deleted the ans_releaseit branch September 26, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants