Auto publishing and move default branch to latest
#20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simple automated publishing for projects
Automatically publishes beta releases, when a change is pushed to a beta branch
For a latest/production release, workflow must be manually kicked off / started from
Actions --> Build and Publish
. ( This is by design to prevent accidental production releases.)Latest release includes a github release
Release Workflow ( Beta --> Production )
1 - Determine what the target version will be for the final release and update the package.json version number ( ie
0.5.6
)2 - Create a new branch including the target release version ie
beta-0.5.6
3 - Commit the updated package.json to the new beta branch. This will trigger a npm release with the beta tag, and npm version set to
0.5.6-beta.0
.4 - As updates are made to the beta branch, npm beta releases will be created.
5 - Once the release is complete, and ready for latest/production release, create a pull request to merge the changes into the
latest
branch.6 - After reviews are complete, merge the pull request
7 - For the latest/production release, the workflow must be manually kicked off / started from Actions --> Build and Publish
8 - Delete beta branch