- 
                Notifications
    
You must be signed in to change notification settings  - Fork 338
 
Release Process
- 
apple/pkl-lang.github.io (main branch)
- 
run
gw validateLocalSite.- 
It’s okay if there are errors like
Unexpected HTTP status code 404 for external link https://pkl-lang.org/pkl/<new-version>-dev/…;because we do not publish docs for unreleased versions of Pkl. 
 - 
 - 
do a quick manual check of the generated site (esp. the release notes)
 
 - 
 - 
apple/pkl (main branch)
- 
gradle.properties: update
versionas necessary - 
docs/antora.yml: update
version(no suffix for release,-rc.nsuffix for RC) andprereleaseproperties (true→false) - 
docs/modules/ROOT/partials/component-attributes.adoc: update top two properties
 - 
docs/modules/release-notes/<current>.adoc: update
:version-minoras necessary - 
pkl-core/src/main/java/org/pkl/core/runtime/VmLanguage.java: update
versionannotation attribute - 
to be on the safe side, do a file search for latest dev version and replace as necessary
 - 
commit "Prepare x.y.z release" but do not push yet
- 
avoids issue where docs build fails because main branch and tag have same Antora component version
 
 - 
 
 - 
 
- 
apple/pkl
- 
run
git tag -a x.y.z -m "Release version x.y.z" - 
push to upstream (
git push upstream refs/tags/x.y.z) and wait for pkl-lang/pkl release build to finish - 
once CI build is complete, do a quick manual check of https://pkl-lang.org/main/current
 
 - 
 - 
apple/pkl-jvm-examples (main branch, if new minor version)
- 
update Pkl version (search and replace)
 - 
make sure that
gw buildsucceeds and push to upstream 
 - 
 
- 
If new minor release:
- 
apple/pkl (main branch)
- 
docs/antora.yml: Update
version(use -dev suffix) andprereleaseproperties (false→true) - 
docs/modules/ROOT/partials/component-attributes.adoc: update top two properties
 
 - 
 - 
gradle.properties: set
versionto next dev version (do not use -dev or -SNAPSHOT suffix)- 
pkl-core/src/main/java/org/pkl/core/runtime/VmLanguage.java: update
versionannotation attribute (use-devsuffix) - 
stdlib/: update
minPklVersionof all stdlib modules (do not use-devsuffix) - 
changelog.adoc: add the next release version and date
 - 
create a new release notes file in docs/modules/release-notes/pages/<next-version>.adoc
 - 
update
docs/nav.adocanddocs/modules/release-notes/pages/index.adocto link to the next version - 
to be on the safe side, do a file search for current release version and replace as necessary
 - 
commit "Start next dev iteration", and push to upstream
 
 - 
 - 
release new versions of pkl-spring, and pkl-intellij (update to latest version of Pkl)
 - 
release new versions of pkl-vscode, pkl-neovim if grammar has changed
 
 - 
 - 
If new patch release
- 
apple/pkl (main branch)
- 
Cherry-pick commit that adds release notes for recently released patch to CHANGELOG
 - 
Submit PR and merge into
main 
 - 
 
 -