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: add release script #3891

Merged
merged 25 commits into from Feb 13, 2022
Merged

chore: add release script #3891

merged 25 commits into from Feb 13, 2022

Conversation

balazsorban44
Copy link
Member

@balazsorban44 balazsorban44 commented Feb 9, 2022

  • Get a list of commits since the last tag
  • Early bailout ([skip ci] or chore(release): "bump version")
  • Filter out commits that did not touch package code
  • Group commits by package
  • For each package
    • Group commits by type (Features, Bug fixes, Other)
    • Determine the next version
    • Update package.json with the new version
    • Create the changelog
    • Create git tag/release
  • Commit changes
  • Push git tag/release/commits
  • Push to npm
    - [ ] create experimental from PRs might to in a follow-up PR. For now, we can still publish at least next-auth with the old flow.
  • add dry run

partially solves #3952

@vercel
Copy link

vercel bot commented Feb 9, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextauthjs/next-auth/Awh48sE1y3LrcpFkQUngpV5iPCip
✅ Preview: https://next-auth-git-chore-release-script-nextauthjs.vercel.app

[Deployment for fb51340 canceled]

@vercel vercel bot temporarily deployed to Preview February 11, 2022 01:00 Inactive
@vercel vercel bot temporarily deployed to Preview February 13, 2022 00:17 Inactive
Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@balazsorban44 balazsorban44 merged commit 2e37105 into main Feb 13, 2022
@balazsorban44 balazsorban44 deleted the chore/release-script branch February 13, 2022 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants