Skip to content

Release Process

Daniel Chao edited this page Dec 1, 2025 · 11 revisions

Pre-release

  1. Add release notes to docs/modules/ROOT/pages/CHANGELOG.adoc
  2. Change version in docs/antora.yml
  3. Change version in docs/modules/ROOT/partials/component-attributes.adoc
  4. Change version in VERSION.txt
  5. Commit message: "Prepare x.y.z release"
  6. If new minor release: Submit PR and merge approved PR into the main branch
  7. If new patch release: Submit PR and merge approved PR into the release branch

Release

  1. If a new minor version, create a release branch

    1. git checkout -b release/x.x
    2. push to origin
  2. Otherwise, merge changes into release branch

    1. git checkout release/x.x
    2. git merge --ff-only main
    3. push to origin
  3. Commit and create two tags. Make sure the tag does not have a "v" prefix.

    git tag -a x.y.z -m "Release version x.y.z"
    git tag -a [email protected] -m "Release of x.y.z Pkl package"
    
  4. Push to apple/pkl-swift

    These instructions assume that the apple/pkl-swift remote is called "upstream".

    git push upstream refs/tags/x.y.z
    git push upstream refs/tags/[email protected]
    
  5. Wait for CI job to finish

  6. If patch release, create a PR to cherry-pick changes into main branch (to port changelog)

Clone this wiki locally