Files
Ramon Roche 467514c7af ci(px4_msgs): drop the release branch dispatch to the interface library
The dispatch to px4-ros2-interface-lib needs an account with write
access to that repository, and the one time it fired, for release/1.18,
it was refused. The library will pick up new PX4 release branches with
a daily check of its own instead, which needs no access from our side.

What is left of the workflow only creates the px4_msgs branch, so rename
it to say that, and describe both paths in the release process.

Assisted-by: Claude:claude-fable-5-2
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-11-23 20:04:26 -08:00

14 KiB

Release Process

<script setup> import { useData } from 'vitepress' const { site } = useData(); </script>

This page is on a release branch, and hence probably out of date. See the latest version.

This page documents the PX4 release process for maintainers. It covers the steps from preparing a release candidate through to the final announcement.

Overview

PX4 uses a branch-based release workflow:

  • release/X.Y (e.g., release/1.17, release/2.0) - The active development branch for a specific release where changes are merged and tested
  • stable - Points to the latest stable release tag; reset after each release
  • beta - For flight testers to validate release candidates

The target release cycle is approximately 6 months, best effort. The actual cadence depends on testing results and maintainer availability, with an ongoing goal to shorten the cycle.

Releases are tracked on the PX4 Release Project Board, which is reused and renamed for each release cycle.

Release Tag Progression

Release branches go through the following tag stages:

Stage Example Branch Status What Gets Merged
Alpha v1.18.0-alpha1 Open for fixes Bug fixes and regression fixes only
Beta v1.18.0-beta1 Open for fixes Bug fixes and regression fixes only
RC v1.18.0-rc1 Frozen Nothing (unless veto vote passes)
Stable v1.18.0 Open for fixes Bug fixes and regression fixes (for point releases)

::: info New features are never merged to release branches. Once a release branch is created from main, only bug fixes and regression fixes are accepted. New features must target main and will be included in the next release cycle. :::

Starting a New Release Cycle

A new release cycle begins immediately after a stable release is published. This involves two votes during the Weekly Community Q&A Call when approving a stable release:

  1. Vote to publish the current release - Approve the stable release for publication
  2. Vote on the next release name/number - Decide the version number for the next release (e.g., v1.18 or v2.0)

Prepare Release Notes Before Branching

Release notes are built incrementally in main.md, which accumulates changes as they land on main. Before creating the release branch:

  1. Rename main.md to the version-specific file (e.g., docs/en/releases/1.18.md)

  2. Add the new file to SUMMARY.md and releases/index.md

  3. Reset main.md to a clean template for the next release cycle

  4. Verify that documentation for all included contributions is complete

  5. Search for instances of main (planned for: and replace with the release version now that it is known. So, for example <Badge type="tip" text="main (planned for PX4 v1.xx" /> is replaced with <Badge type="tip" text="PX4 v1.xx" />.

    Note that once the name of the next version is confirmed, badges may use the second form (e.g. <Badge type="tip" text="PX4 v1.18" />.

  6. Search for instances of <Badge type="warning" text="Experimental" />. Remove this for features that are considered core and/or stable.

::: tip Community members are encouraged to document changes as they are merged into main. This distributes the documentation workload and ensures changes are captured while they're fresh. :::

Create the Release Branch

Once the next release version is decided, create the new release branch from main in PX4-Autopilot:

# PX4-Autopilot
git checkout main && git pull
git checkout -b release/1.18
git push origin release/1.18

The companion repositories get a matching release branch without further steps:

Check that both branches exist. Either workflow can also be run by hand from the Actions tab of its repository, with the release branch name as input.

The ROS integration tests build px4-ros2-interface-lib at the commit pinned in Tools/ros2/ros2.repos, and the new release branch starts with the pin it inherited from main. When the PX4 release branch needs a fix from the library, update the pin on the release branch to a commit from the library's matching release branch.

::: warning Once the release branches are created, they only accept bug fixes and regression fixes. All new feature development continues on main. :::

Create the Alpha Tag

Immediately after creating the release branch, create the first alpha tag to mark the beginning of the release cycle:

# On the new release branch
git checkout release/1.18

# Create the signed alpha tag
git tag -s v1.18.0-alpha1 -m "v1.18.0-alpha1"
git push origin v1.18.0-alpha1

Subsequent alpha tags can be created as fixes are merged (e.g., v1.18.0-alpha2, v1.18.0-alpha3).

Release Steps

1. Review and Merge PRs (Alpha Phase)

During the alpha phase, review pull requests targeting the release branch:

  • Review PRs according to the project's contribution guidelines
  • Merge bug fixes and regression fixes only
  • New features must target main, not the release branch
  • Create additional alpha tags as fixes are merged (e.g., v1.18.0-alpha2)

2. Alpha Testing

The Dronecode Test Team (provided by Ascend Engineering — Dronecode Silver member) conducts initial flight testing of alpha builds using:

  • The test cards documented in the PX4 guide
  • A hardware matrix covering supported flight controllers and airframes

Alpha testing focuses on identifying regressions and blockers early. The alpha phase is complete when:

  • All test cards pass across the core hardware matrix (no critical or high-severity failures)
  • All identified regressions have fixes merged or have been triaged as non-blocking
  • Release notes and documentation for included changes are complete

3. Create Beta Tag

Once the alpha exit criteria above are met, create the first beta tag:

# On the release branch
git checkout release/1.18
git pull

# Create the signed beta tag
git tag -s v1.18.0-beta1 -m "v1.18.0-beta1"
git push origin v1.18.0-beta1

4. Beta Testing

Beta builds are published for wider community validation. Unlike alpha testing (which is conducted by the Dronecode Test Team on the core hardware matrix), beta testing focuses on:

  • Community testing — beta builds are made available for community members to test on their own hardware and airframe configurations
  • Extended hardware coverage — testing on hardware and configurations beyond the core test matrix
  • Real-world flight scenarios — longer flights, mission testing, and edge cases not covered by standard test cards

During beta, continue to:

  • Review and merge bug fixes and regression fixes only
  • Create additional beta tags as fixes are merged (e.g., v1.18.0-beta2, v1.18.0-beta3)

5. Create Release Candidate Tag

The beta phase is complete when:

  • No new critical or high-severity issues are reported for at least one beta tag cycle
  • All beta-reported regressions have fixes merged or have been triaged as non-blocking

Once the beta exit criteria are met, create the first release candidate:

# On the release branch
git checkout release/1.18
git pull

# Create the signed RC tag
git tag -s v1.18.0-rc1 -m "v1.18.0-rc1"
git push origin v1.18.0-rc1

::: warning The branch is now frozen. No PRs will be merged unless a veto vote passes (see below). :::

::: tip Tags must be GPG-signed. Ensure your GitHub account is configured for GPG signing. Only maintainers with registered GPG keys can create release tags. :::

6. RC Testing and Branch Freeze

During RC testing, the release branch is frozen:

  • No PRs are merged by default
  • Testing focuses on final validation before stable release
  • Any issues found are documented and evaluated

Veto Vote for Critical Fixes

If a critical issue is discovered during RC testing that must be fixed before release:

  1. Raise the issue during the Weekly Community Q&A Call
  2. Present the case for why the fix is critical
  3. Maintainers vote on whether to merge the fix
  4. If approved, merge the fix and create a new RC tag (e.g., v1.18.0-rc2)

7. Release Vote

The release vote takes place during the Weekly Community Q&A Call:

  • Present the release status and test results
  • Vote 1: Core maintainers vote on whether to publish the release
  • Vote 2: Decide the name/number of the next release version
  • The call happens Wednesdays at 17:00 CET on Discord

8. Create and Push Release Tag

After a successful vote, create the final release tag:

# On the release branch
git checkout release/1.18
git pull

# Create the signed release tag
git tag -s v1.18.0 -m "v1.18.0"
git push origin v1.18.0

Pushing a stable tag also tags PX4/px4_msgs. The tag_px4_msgs_from_px4_release_tag.yml workflow checks that the release/1.18 branch of px4_msgs has the same message definitions as the tag, sets the package version to 1.18.0, and pushes a v1.18.0 tag there. Alpha, beta and RC tags are not propagated. If the workflow fails, fix the cause and run it again from the Actions tab with the tag name as input.

9. Update the Stable Branch

Reset the stable branch to point to the new release tag:

git checkout stable
git reset --hard v1.18.0
git push --force origin stable

::: warning This is a force push that rewrites the stable branch history. Ensure you have the correct tag before executing. :::

10. GitHub Release (Automated)

When a version tag is pushed, the build_all_targets.yml GitHub Actions workflow automatically:

  1. Builds firmware for all supported targets
  2. Uploads firmware artifacts to AWS S3 (Firmware/vX.Y.Z/ and updates Firmware/stable/)
  3. Creates a draft release on GitHub with all .px4 firmware files attached

11. Publish GitHub Release

Edit the draft release on GitHub:

  • Add a brief description of major changes
  • Link to the full release notes in the documentation (e.g., releases/1.18.md)
  • Publish the release

12. Finalize Documentation

Review and finalize the release notes that have been developed throughout the release cycle:

  • Ensure all noteworthy changes, new features, and upgrade guides are documented
  • Review for completeness and accuracy
  • See existing release notes for the expected format

13. Announce the Release

Announce the release through official channels:

14. Start Next Release Cycle

Immediately after publishing, start the next release cycle:

Point Releases

After a stable release is published, the release branch reopens for bug fixes and regression fixes to support point releases (e.g., v1.18.1).

For patch releases:

  1. Merge bug fixes and regression fixes to the release branch
  2. Create beta tags for testing if needed (e.g., v1.18.1-beta1)
  3. Create RC tags for final validation (e.g., v1.18.1-rc1)
  4. After testing and vote, tag the point release
  5. Update stable branch and publish

Project Board Management

The PX4 Release Project Board is reused across release cycles to track issues and PRs for the current release.

After a Release

Once a release is published:

  1. Rename the project board to reflect the next release version (e.g., "v1.17 Release" → "v1.18 Release")
  2. Review remaining items:
    • Close items that are no longer relevant
    • Move incomplete items that should carry over to the next release
    • Remove items that were descoped or deferred indefinitely
  3. Update the board description if needed to reflect the new release target

See Also