Release Checklist

Release checklist

Here's a checklist for the release process.

Branches

There is no merge freeze: master stays open for the whole release cycle.

  • Each release gets a release-<VERSION> branch, created from master when rc1 is prepared. Every rc and the final release are tagged on it.
  • The rcN and final PRs target release-<VERSION>, not master.
  • Fixes for the release land on master first, then are cherry-picked into release-<VERSION> with a PR against that branch.
  • After each rc and the final release, open a PR against master that cherry-picks the CHANGELOG.md and update-versions changes from release-<VERSION>, so master stays up to date for the next release.

Leading Up To The Release

  1. Talk to team about whether there are any changes which MUST be in rc1.
  2. Look through outstanding issues, to identify any problems that might be necessary to fixup before the release. Good candidates are reports of the project not building on different architectures or crashes.
  3. Identify a good lead for each outstanding issue, and ask them about a fix timeline.
  4. Create a milestone for the next release on Github, and go though open issues and PRs and mark accordingly.
  5. Ask (via email) the most significant contributor who has not already named a release to name the release (use devtools/credit --verbose v<PREVIOUS-VERSION> to find this contributor). CC previous namers and team.

Preparing for -rc1

  1. Create the release-<VERSION> branch from master and push it to the ElementsProject repository.
  2. Make sure any CHANGELOG.md changes from point releases have been imported.
  3. Use devtools/changelog.py to collect the changelog entries from pull request commit messages and merge them into the manually maintained CHANGELOG.md. This does API queries to GitHub, which are severely ratelimited unless you use an API token: set the GH_TOKEN environment variable to a Personal Access Token from https://github.com/settings/tokens
  4. Check that CHANGELOG.md is well formatted, ordered in areas, covers all significant changes, and sub-ordered approximately by user impact & coolness.
  5. Manually remove any entries which were mentioned for in the previous point releases (they will be duplicates!). Do the same for fixes that were cherry-picked into the previous release's rcs and final: they land on master with different commit ids, so devtools/changelog.py collects them again.
  6. Create a new CHANGELOG.md heading to v<VERSION>rc1, and create a link at the bottom. Note that you should exactly copy the date and name format from a previous release, as the release tooling parses the date from it.
  7. Update the package versions: uv run make update-versions NEW_VERSION=v<VERSION>rc1
  8. Create a PR with the above, targeting release-<VERSION>.

Releasing -rc1

  1. Merge the above PR.
  2. Check out release-<VERSION> at the merged commit and tag it: git tag -s v<VERSION>rc1. Note that you should get a prompt to give this tag a 'message'. Make sure you fill this in.
  3. Confirm that the tag will show up for builds with git describe. Do not push the tag: tools/reprobuild publish pushes it, last, once everything else has gone out.
  4. Build and sign the release locally: tools/reprobuild all. This is the whole build: three static tarballs, the source zip, the multi-arch image and the signed manifest, and it needs only docker, coreutils and python3. Every rc is a rehearsal of the release flow, so do not skip it. The signing key has to answer before the build starts, so that an hour of building cannot end on a key nobody can reach. If you would rather not sit next to the machine for that hour, add --wait-for-key: the build then runs unattended and waits (30 minutes by default, --wait-for-key=SECONDS to change it) once it has something to sign, so you only need to plug in and unlock the smartcard at the end. It polls the key rather than waiting for a keypress, so this works for a detached run whose log you are tailing.
  5. Send SHA256SUMS-v<VERSION>rc1 and your signature to the co-signers. They run tools/reprobuild verify SHA256SUMS-v<VERSION>rc1, which rebuilds from the commit and timestamp the manifest names, and send back SHA256SUMS-v<VERSION>rc1.asc.<keyid>.
  6. Put their signatures next to yours in release/ and check each one with gpg --verify SHA256SUMS-v<VERSION>rc1.asc.<keyid> SHA256SUMS-v<VERSION>rc1. Always pass the manifest as the second argument, or gpg may verify a payload embedded in the .asc and exit successfully without reading the checksums. Three good signatures (yours plus two co-signers', distinct keys from contrib/keys/) are required before publishing, rcs included; publish checks.
  7. Disable the "Release 🚀" workflow (gh workflow disable "Release 🚀"): pushing a tag would otherwise publish the pyln modules on its own schedule, and publish refuses while it is enabled.
  8. Publish the rc: tools/reprobuild publish. That is the whole publication: tarballs, manifest, signatures and the source zip to the download host, the multi-arch image to Docker Hub, the tag to GitHub, and the GitHub release as a draft. latest is never applied to an rc.
  9. Re-enable the "Release 🚀" workflow (gh workflow enable "Release 🚀") and publish the pyln modules to test PyPI by hand, since the tag push did not trigger it: gh workflow run "Release 🚀" --ref v<VERSION>rc1 -f version=v<VERSION>rc1 -f dist-location=test. Check that the modules appear on https://test.pypi.org/project/pyln-*/#history.
  10. Use devtools/credit --markdown v<PREVIOUS-VERSION> to generate a single contributor list for the release notes. Use devtools/credit --verbose v<PREVIOUS-VERSION> for namer selection and detailed annotations.
  11. Prepare release notes draft including the contributor list from above, and share with the team for editing.
  12. Publish the GitHub pre-release (change it from draft to public).
  13. Announce rc1 release on core-lightning's release-chat channel on Discord & Telegram.
  14. Upgrade your personal nodes to the rc1, to help testing.
  15. Open a PR against master that cherry-picks the rc1 CHANGELOG.md and update-versions commit.

Releasing -rc2, ..., -rcN

  1. Make sure every fix meant for this rc has landed on master and been cherry-picked into release-<VERSION>.
  2. Update CHANGELOG.md by changing rc(N-1) to rcN. Update the changelog list with information from the newly cherry-picked PRs also.
  3. Update the package versions: uv run make update-versions NEW_VERSION=v<VERSION>rcN
  4. Add a PR with the rcN targeting release-<VERSION>, and merge it.
  5. Check out release-<VERSION> at the merged commit and tag it: git tag -s v<VERSION>rcN. Do not push the tag.
  6. Build, co-sign and publish as for rc1 (steps 4 to 9): tools/reprobuild all, the co-signers' tools/reprobuild verify SHA256SUMS-v<VERSION>rcN, three good signatures, the "Release 🚀" workflow disabled, tools/reprobuild publish, then the workflow re-enabled and the pyln modules published to test PyPI by hand.
  7. Prepare the release notes and publish the GitHub pre-release.
  8. Announce tagged rc release on core-lightning's release-chat channel on Discord & Telegram.
  9. Upgrade your personal nodes to the rcN.
  10. Open a PR against master that cherry-picks the rcN CHANGELOG.md and update-versions commit.

Tagging the Release

  1. Make sure every fix meant for the release has landed on master and been cherry-picked into release-<VERSION>.
  2. Update CHANGELOG.md: remove -rcN in both places, update the date, and add the title and namer.
  3. Update project-wide package versions: uv run make update-versions NEW_VERSION=v<VERSION>
  4. Create a PR with above changes, targeting release-<VERSION>.
  5. After the PR is merged, check out release-<VERSION> at the merged commit and create a signed, annotated tag: git tag -a -s v<VERSION> -m "v<VERSION>". Do not push the tag: tools/reprobuild publish pushes it, last, once everything else has gone out and been verified.
  6. Build and sign everything: tools/reprobuild all. It ends with SHA256SUMS-v<VERSION>, signed with your key. The build takes 1–2 hours for all three architectures.
  7. Send the manifest and your signature to the co-signers. They run tools/reprobuild verify SHA256SUMS-v<VERSION>, which rebuilds from the commit and timestamp the manifest names, and send back SHA256SUMS-v<VERSION>.asc.<keyid>.
  8. Put their signatures next to yours in release/ and check each one with gpg --verify SHA256SUMS-v<VERSION>.asc.<keyid> SHA256SUMS-v<VERSION>. Always pass the manifest as the second argument, or gpg may verify a payload embedded in the .asc and exit successfully without reading the checksums. Three good signatures (yours plus two co-signers', distinct keys from contrib/keys/) are required before publishing; publish checks.
  9. Run the acceptance suite if you have not since certifying: tools/reprobuild accept. It runs the portability matrix and the two-tree probe; tools/reprobuild certify is the fuller version that rebuilds everything from source without the binary cache.
  10. Disable the "Release 🚀" workflow (gh workflow disable "Release 🚀"); publish refuses while it is enabled.
  11. Publish: tools/reprobuild publish, or tools/reprobuild publish --latest if this release should also become latest on Docker Hub. This uploads the artifacts and the source zip, reads them back and checks them against the signed manifest, pushes the images, pushes the tag and creates the GitHub release as a draft, in that order, so the irreversible step comes last. Docker images are published here; there is nothing to trigger in CI.

Performing the Release

  1. Check that the GitHub release draft reads the way you want, and publish it.
  2. Re-enable the "Release 🚀" workflow (gh workflow enable "Release 🚀") and publish the pyln modules to pypi.org by hand, since the tag push did not trigger it: gh workflow run "Release 🚀" --ref v<VERSION> -f version=v<VERSION> -f dist-location=prod. Check that the modules appear on https://pypi.org/project/pyln-*. If the workflow fails, publish them manually with uv run make pyln-release. This requires keys for each of the pyln-client, pyln-proto, and pyln-testing modules to be accessible to uv. You can set the key as an environment variable and build and publish each pyln release independently:
    • export UV_PUBLISH_TOKEN=<pyln-client token>
    • uv run make pyln-release-client
    • ... repeat for each pyln package with the appropriate token.
  3. Announce the final release on core-lightning's release-chat channel on Discord & Telegram.
  4. Write release blog, post it on Blockstream and announce the release on Twitter.

Post-release

  1. Open a PR against master that cherry-picks the final CHANGELOG.md and update-versions commit from release-<VERSION>.
  2. Create a PR to update:
  • Makefile: variables CLN_NEXT_VERSION and CLN_PREV_VERSION (this may break tests as deprecated things are disabled!)
  • tools/lightning-downgrade.c: to downgrade to the just-released version.
  • .github/workflows/ci.yaml: change old-cln to download the just-released version.
  • .github/PULL_REQUEST_TEMPLATE.md: the rc1 and final release dates for the next release.
  1. Close out the Milestone for the now-shipped release.
  2. Update this file with any missing or changed instructions.
  3. Fetch the latest bolt revision in ../bolts. Then run ./devtools/bolt-catchup.sh to update BOLTVERSION in the Makefile and run make check-bolt-quotes. It may get confused by merges in the BOLTs repository, so you may have to do some manual work. Note: this step may involve a significant amount of work for new spec changes!
  4. Go through doc/developers-guide/deprecated-features.md and remove features and code whose Last Supported was the prior version (i.e. now two versions ago: we give one version where the user can use i-promise-to-fix-broken-api-user=FEATURENAME to re-enable it). Also remove the features from any schemas and other documentation.

Performing the Point (hotfix) Release

  1. Create a new branch named release-<VERSION>.<POINT_VERSION>, where each new branch is based on the commit from the previous release tag. For example, release-<VERSION>.1 is based on release-<VERSION>, release-<VERSION>.2 is based on release-<VERSION>.1, and so on.
  2. Cherry-pick all necessary commits for the hotfix into the new branch.
  3. Add entries for changes and fixed issues in CHANGELOG.md under a new heading for v<VERSION>.<POINT_VERSION>.
  4. Update project package versions by running uv run make update-versions NEW_VERSION=<VERSION>.<POINT_VERSION>
  5. Create a new commit that includes the updates from update-versions and CHANGELOG.md.
  6. Tag the release with git tag -s v<VERSION>.<POINT_VERSION>. You will be prompted to enter a tag message, ensure this is filled out.
  7. Confirm that the tag is properly set up for builds by running git describe. Do not push the tag by hand; tools/reprobuild publish does it.
  8. Build and sign: tools/reprobuild all.
  9. Send the manifest and your signature to the co-signers, who run tools/reprobuild verify SHA256SUMS-v<VERSION>.<POINT_VERSION> and send back their detached signatures.
  10. Put their signatures next to yours in release/; three good ones from distinct committed keys are required before publishing. Check each one with gpg --verify SHA256SUMS-v<VERSION>.<POINT_VERSION>.asc.<keyid> SHA256SUMS-v<VERSION>.<POINT_VERSION>: the manifest must be the second argument, or gpg may verify a payload embedded in the .asc instead.
  11. Disable the "Release 🚀" workflow (gh workflow disable "Release 🚀"); publish refuses while it is enabled.
  12. tools/reprobuild publish. Add --latest only if this point release should become latest on Docker Hub. It publishes the artifacts and the Docker images, pushes the tag and creates the GitHub release as a draft.
  13. Finalize and publish the release (change it from draft to public).
  14. Re-enable the "Release 🚀" workflow and publish the pyln modules to pypi.org by hand: gh workflow run "Release 🚀" --ref v<VERSION>.<POINT_VERSION> -f version=v<VERSION>.<POINT_VERSION> -f dist-location=prod. Check that they appear on https://pypi.org/project/pyln-*, or publish them manually with uv run make pyln-release.
  15. Open a PR against master that cherry-picks the CHANGELOG.md and update-versions commit, to keep it up to date for the next release.
  16. Announce the hotfix release in the core-lightning release-chat channel on Discord and on Telegram.

Did this page help you?

Core Lightning is Blockstream's open-source implementation of the Lightning Network optimised for performance. It is highly customizable through modular expandability.

© 2026 Core Lightning, a Blockstream project.
All rights reserved.

X Twitter Logo Streamline Icon: https://streamlinehq.com

X

The official Core Lightning X(Twitter) handle to follow project updates and announcements.

Github Logo 2 Streamline Icon: https://streamlinehq.com

Github

Github repository for source code, issues, and contributions. Visit our project here to explore or contibute.

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/V6ay9yNhBQ to join.