Files
EOS/docs/develop/release.md
T
43c61b53bd docs: say that the CI tags the release and a maintainer publishes it
bump-version.yml tags the release commit and starts the image build,
but creates no GitHub Release. The release docs said that the CI
publishes the GitHub Release. Step 4 now names the tag and the Docker
images, and a new step 7 says that a maintainer publishes the GitHub
Release for the tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
2026-11-20 22:10:59 +01:00

5.2 KiB

% SPDX-License-Identifier: Apache-2.0

(release-page)=

Release Process

This document describes how to prepare and publish a new release via a Pull Request from a fork, and how to set a development version after the release.

✅ Overview of the Process

Step Actor Action
1 Contributor Prepare a release branch in your fork
2 Contributor Open a Pull Request to upstream (Akkudoktor-EOS/EOS)
3 Maintainer Review and merge the release PR
4 CI Create the release tag and build the Docker images
5 CI Open a Pull Request to set the development version marker
6 Maintainer Review and merge the development version PR
7 Maintainer Publish the GitHub Release for the tag

🔄 Detailed Workflow

1️⃣ Contributor: Prepare the Release in Your Fork

Clone and sync your fork

git clone https://github.com/<your-username>/EOS
cd EOS
git remote add eos https://github.com/Akkudoktor-EOS/EOS
git fetch eos
git checkout main
git pull eos main

Create the release branch

git checkout -b release/vX.Y.Z

Bump the version information

Set __version__ in src/akkudoktoreos/core/version.py

__version__ = 0.3.0

Prepare version by updating versioned files, e.g.:

  • config.yaml

and the generated documentation:

make prepare-version

If the version string changes, make prepare-version also sets VERSION_DATE in src/akkudoktoreos/core/_version_date.py. Do not edit this file by hand.

Check the changes by:

make test-version

Create a new CHANGELOG.md entry

Edit CHANGELOG.md

Create the new release commit

Add all the changed version files and all other changes to the commit.

git add src/akkudoktoreos/core/version.py CHANGELOG.md ...
git commit -s -m "chore: Prepare Release v0.3.0"

Push the branch to your fork

git push --set-upstream origin release/v0.3.0

2️⃣ Contributor: Open the Release Preparation Pull Request

From To
<your-username>/EOS:release/vX.Y.Z Akkudoktor-EOS/EOS:main

PR Title:

chore: prepare release vX.Y.Z

PR Description Template:

## Prepare Release vX.Y.Z

This pull request prepares release **vX.Y.Z**.

### Changes

- Version bump
- Changelog update

### Changelog Summary

<!-- Copy key highlights from CHANGELOG.md here -->

See `CHANGELOG.md` for full details.

3️⃣ Maintainer: Review and Merge the Release PR

Review Checklist:

  • ✅ Only version files and CHANGELOG.md are modified
  • ✅ Version numbers are consistent
  • ✅ Changelog is complete and properly formatted
  • ✅ No unrelated changes are included

Merge Strategy:

  • Prefer Merge Commit (or Squash Merge, per project preference)
  • Use commit message: chore: Prepare Release vX.Y.Z

4️⃣ CI: Tag the Release and Build the Docker Images

The CI runs .github/workflows/bump-version.yml for the release commit.

The workflow tags the release commit vX.Y.Z and starts .github/workflows/docker-build.yml for the tag. That run pushes the Docker images with the tags X.Y.Z and X.Y to Docker Hub (akkudoktor/eos) and GHCR (ghcr.io/akkudoktor-eos/eos). Check that both tags exist after the run. If they are missing, rerun the Bump Version workflow run of the release commit, or start the build for the tag by hand: gh workflow run docker-build.yml --ref vX.Y.Z.

The CI does not create the GitHub Release; a maintainer publishes it in step 7.

5️⃣ CI: Open Pull Request for Development Version Marker

After tagging the release, the CI automatically opens a Pull Request to bump the version to the next development version marker .dev. See .github/workflows/bump-version.yml for details.

PR Title:

chore: bump dev version to vX.Y+1.0.dev

6️⃣ Maintainer: Review and Merge the Development Version PR

Review Checklist:

  • ✅ Only src/akkudoktoreos/core/version.py is modified
  • ✅ Version has .dev suffix
  • ✅ No unrelated changes are included

Merge Strategy:

  • Prefer Merge Commit (or Squash Merge, per project preference)
  • Use commit message: chore: bump dev version to vX.Y+1.0.dev

7️⃣ Maintainer: Publish the GitHub Release

The CI does not create the GitHub Release. Publish it on GitHub for the tag vX.Y.Z (Releases → Draft a new release). Mark a release candidate (vX.Y.ZrcN) as a pre-release.

✅ Quick Reference

Step Actor Action
1. Prepare release branch Contributor Bump version & changelog
2. Open release PR Contributor Submit release for review
3. Review & merge release PR Maintainer Finalize changes into main
4. Tag release & build images CI Create tag & push Docker images
5. Open development version PR CI Open PR to set development marker
6. Review & merge development version PR Maintainer Merge .dev version into main
7. Publish GitHub Release Maintainer Publish release for the tag & notify users