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-cli for next major #32694

Merged
merged 6 commits into from Aug 10, 2021
Merged

chore: add release-cli for next major #32694

merged 6 commits into from Aug 10, 2021

Conversation

wardpeet
Copy link
Contributor

@wardpeet wardpeet commented Aug 4, 2021

Description

Create a simple release scripts to publish the next premajor. It allows us to put patch files in patches/v4/ to update package.json and dependencies.

What does this file do?

  • it checks if you have publish access
  • it checks if we have any uncommited files -- if so, we exit
  • it cleans all non git files to make sure we have clean directory
  • run patches in patches/v4
  • commits the patches so lerna can publish
  • run full boostrap with COMPILER_OPTIONS
  • Publish premajor
  • cleanup patch commit

Documentation

Related Issues

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 4, 2021
@wardpeet wardpeet force-pushed the release-cli branch 2 times, most recently from 4d6c9e7 to 1e6514a Compare August 5, 2021 08:31
@pieh pieh self-assigned this Aug 5, 2021
@wardpeet wardpeet added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Aug 5, 2021
package.json Outdated Show resolved Hide resolved
scripts/release-cli.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
pieh
pieh previously approved these changes Aug 5, 2021
Base automatically changed from compiler-flags to master August 5, 2021 16:44
Copy link
Contributor

@vladar vladar left a comment

Choose a reason for hiding this comment

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

👍

@wardpeet wardpeet merged commit 9d2c5f0 into master Aug 10, 2021
@wardpeet wardpeet deleted the release-cli branch August 10, 2021 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants