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

Semantic release setup for beta branch #205

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

cameronvoell
Copy link
Contributor

@cameronvoell cameronvoell commented Jan 9, 2024

Closes #174

This change adds the necessary changes to package.json and .github/workflows/release.yml for triggering beta releases on GitHub and to NPM whenever a PR is merged to a beta branch. (see xmtp-js for working reference)

This also change also adds CONTRIBUTING markdown following the example from xmtp-js, with one added section for Pre-release instructions. Markdown links to the documentation on pre-release workflows from semantic-release.

After this change is merged to main we can generate the new beta protected branch, and PRs merged targeting beta will create a beta release on NPM going forward.

We can follow the xmtp-js model for keeping our beta branch up to date with main, and merging beta branch into main when pre-release features have been sufficiently tested.

A section was added for advising when to target beta branch versus main branch in order to minimize work keep branches in sync when possible. Feedback welcomed: 64fa04e#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055R54-R56

@cameronvoell cameronvoell marked this pull request as ready for review January 9, 2024 01:23
@cameronvoell cameronvoell requested review from jhaaaa and a team as code owners January 9, 2024 01:23
Copy link
Contributor

@nplasterer nplasterer left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for tackling this.

@cameronvoell cameronvoell merged commit 671caf6 into main Jan 10, 2024
4 of 5 checks passed
@cameronvoell cameronvoell deleted the cameronvoell/semantic-release-beta-pre-release branch January 10, 2024 02:23
Copy link
Contributor

🎉 This PR is included in version 1.23.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Beta Channel for RN sdk releases
2 participants