-
Notifications
You must be signed in to change notification settings - Fork 12
Release process
Daniel Chao edited this page Nov 13, 2024
·
13 revisions
- Add release notes to
docs/modules/ROOT/pages/CHANGELOG.adoc
and tosrc/main/resources/META-INF/plugin.xml
- Change version in
docs/antora.yml
andgradle.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
-
Wait for CI job to finish and make sure the release is here in GitHub
-
-
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.y
If main is ahead of release/x.y:
- On main branch:
git fetch upstream && git pull upstream main
git checkout release/x.y
git merge --ff-only main
git push upstream release/x.y
- On main branch:
-
-
wait for the website build to finish and check the changelog is there