-
Notifications
You must be signed in to change notification settings - Fork 20
Release process
Daniel Chao edited this page Feb 27, 2025
·
14 revisions
- Add release notes to
docs/modules/ROOT/pages/CHANGELOG.adocand tosrc/main/resources/META-INF/plugin.xml - Change version in
docs/antora.ymlandgradle.properties - Commit message: "Prepare x.y.z release"
- Create a PR with these changes titled "Prepare release x.y.z", get approval, and squash-merge it into main.
-
Commit and create a tag based on current main. Make sure the tag does not have a "v" prefix.
git tag -a x.y.z -m "Release version x.y.z" -
Push the tag
These instructions assume that the apple/pkl-intellij remote is called "upstream".
git push upstream refs/tags/x.y.z -
Cut the release branch (don't wait for CI job to complete)
-
If releasing new minor version:
Create a release branch based on current main
git checkout -b release/x.y- push to upstream
- trigger CI for main of pkl-lang.org (unless it's already running in time)
-
If releasing new patch version, cherry-pick commits into existing
release/x.yIf main is ahead of
release/x.y:- On main branch:
git fetch upstream && git pull upstream main git checkout release/x.ygit merge --ff-only maingit push upstream release/x.y
- On main branch:
-
-
wait for the website build to finish and check the changelog is there