-
Notifications
You must be signed in to change notification settings - Fork 185
Release process (post 0.2.0)
- Make sure you're on the
master
branch and have no changes. - Run
yarn run update-version-to {version}
- Update README.md of
vscode-extension-pack-kogito-kie-editors
with the release notes. yarn run init && yarn run build:prod
git add .
git commit -am "Release {version}"
git checkout -b {version}-prerelease
These steps are temporary until we figure out how to download the editors during the build.
- Copy WAR contents of editors to kie-bc-editors-unpacked
git add -f packages/kie-bc-editors-unpacked/bpmn packages/kie-bc-editors-unpacked/dmn
git commit -am "unpacked editors"
-
git push origin {version}-prerelease
⟶ ⚠ This will trigger a GitHub Workflow
This workflow will create a Draft Release on GitHub with the artifacts ready. It will also update the
kogito-online
GitHub page to contain the resources for the next version of the Chrome Extension. If something's wrong, you can push again and thekogito-online
GitHub page will be updated again and a new Draft Release will be created on GitHub.
- Wait for GitHub Workflow "Create draft release" to be complete.
- Perform sanity checks with the artifacts
- Change the
target
branch for the release to{version}-prerelease
- Write the release text
- Publish release ⟶ ⚠ This will trigger a GitHub Workflow
This Workflow will finish updating
kogito-online
GitHub Page. That means updating the/editors/latest
URI to point to the version that was just released.
It will also publish the artifacts to NPM, so it cannot be re-run.
- Wait for "Publish release artifacts" to be ready
git push origin master
- Run
yarn run update-version-to {next-version}
git commit -am "Bump version to {next-version}"
git push origin master
Done! ✅
After all that, you should have two commits on
master
:
1. Release {version} 2. Bump version to {next-version}
You should also have a tag called
{version}
with non-emptypackages/kie-bc-editors-unpacked/[bpmn/dmn]
folders and ayarn.lock
on the repository root dir.