From 9ccf1efee9735c35aeecda2620d5c8e36f11ad22 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sun, 25 Jun 2023 05:58:43 -0400 Subject: [PATCH] Add release steps --- docs/RELEASING.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/RELEASING.md diff --git a/docs/RELEASING.md b/docs/RELEASING.md new file mode 100644 index 00000000..b69846f6 --- /dev/null +++ b/docs/RELEASING.md @@ -0,0 +1,35 @@ +# Releasing + +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 `unstable` release +- Edit `unstable` release + - Tag: `v$VERSION` + - Title: `v$VERSION` + - Body: the content from CHANGELOG.md for this version + - Uncheck `Set as a pre-release` + - Check `Set as the latest release` + - Click `update release` + +- The newest Playlet lib is now LIVE + +## Playet + +For releasing to the store (when needed), this is done following a Playlet lib release: + +- Switch to main branch and pull changes - match commit corresponding to the release. +- `npm run build:release` + - This should create the signed package +- Upload to dashboard, and schedule a release (takes a couple of days)