-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Beta Workflow steps | ||
|
||
# 1. create a prerelease/random branch | ||
git branch prerelease/$BETA_BRANCH | ||
# 2. check it out | ||
git checkout prerelease/$BETA_BRANCH | ||
# 3. enter pre mode (beta) | ||
yarn cs pre enter beta | ||
# 4. commit | ||
git add .changeset/pre.json | ||
git commit -m "enter beta mode" | ||
# 5. push | ||
git push origin prerelease/$BETA_BRANCH | ||
# 6. githhub action will automatically trigger and open a Version packages (beta) PR against the prerelease/random branch | ||
# 7. merge that PR to publish or Push up more commits to update | ||
# a. if you do merge/publish you will need to add more changesets to initiate a new beta being published | ||
# 8. repeat 7 if wanted | ||
# 9. when ready to exit pre mode. `yarn beta-exit` | ||
# 11. open PR for prerelease into main |