1.8 KiB
1.8 KiB
Releasing
The release process for Playlet is very simple, since most of the work is automated.
The automation makes canary releases.
canary release + QA = stable version
These are mostly the steps when releasing a new version:
Playlet lib
- Create local branch
release/$VERSIONe.g.release/0.10.0 - Set version in package.json
- Update CHANGELOG.md section from
[Unreleased]to[$VERSION] - DATE npm run build:release- This should fail because there are uncommitted changes. This is expected.
- Commit changes
- Create pull request
- Title:
Release v$VERSION - Comment:
Release $VERSION \nIt should contain everything planned from #6
- Title:
- Wait for CI and merge
- Wait for CI on main branch to create the
canaryrelease - Edit
canaryrelease- Tag:
v$VERSION - Title:
v$VERSION - Body: the content from CHANGELOG.md for this version
- This should be already included, just remove the notes about testing the canary release
- Uncheck
Set as a pre-release - Check
Set as the latest release - Click
update release
- Tag:
- Update Roadmap
- If current versions says
Planned for $VERSION, change it toReleased in $VERSION - Add a
Planned for $VERSIONfor the next version
- If current versions says
The newest Playlet lib is now LIVE
Playlet
For releasing to the store (when needed), this is done following a Playlet lib release:
- Switch to main branch and pull changes, including tags - match commit corresponding to the release.
npm run build:release:ci- This makes sure to have a valid app in the staging folder
npm run sign-released-package- This should create the signed package under
release/playlet.pkg
- This should create the signed package under
- Upload to dashboard, and schedule a release (takes a couple of days)