* shorten link * Add zip to squash * squashfs signing * Format * add secrets * release fix * revert testing * check for needed commands * changelog
44 lines
1.5 KiB
Markdown
44 lines
1.5 KiB
Markdown
<!-- markdownlint-disable MD036 -->
|
|
|
|
# Releasing
|
|
|
|
The release process for Playlet is very simple, since most of the work is automated.
|
|
The automation makes `canary` releases.
|
|
|
|
```makefile
|
|
canary release + QA = stable version
|
|
```
|
|
|
|
These are mostly the steps when releasing a new version:
|
|
|
|
## Playlet lib
|
|
|
|
- Create local branch `release/$VERSION` e.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`
|
|
- Wait for CI and merge
|
|
- Wait for CI on main branch to create the `canary` release
|
|
- Edit `canary` release
|
|
- 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`
|
|
- Update [Roadmap](https://github.com/iBicha/playlet/issues/6)
|
|
- If current versions says `Planned for $VERSION`, change it to `Released in $VERSION`
|
|
- Add a `Planned for $VERSION` for the next version
|
|
|
|
**The newest Playlet lib is now LIVE**
|
|
|
|
## Playlet
|
|
|
|
For releasing to the store (when needed), signed packages are attached to Github releases, ready to publish
|