Skip to content
Dieter Beck edited this page Nov 18, 2026 · 2 revisions
  1. Bump the version in src/Codeception/Codecept.php (const VERSION) and add the release notes to CHANGELOG-5.x.md. Commit and push to main.

    Example: https://github.com/Codeception/Codeception/commit/5740d838b

  2. Wait for the build workflow to pass on main, then create a new release:

    • Tag: the plain version number, e.g. 5.3.8 (no v prefix; the Docker workflow rejects other formats).
    • Target: main.
    • Description: copy the changelog entry.
    • When releasing a patch for an older version, untick Set as the latest release.
    • Publish the release (a draft doesn't trigger the workflows).
  3. Publishing the release starts two workflows. Check that both pass in Actions:

    • phar: builds codecept.phar, runs a smoke test, and attaches codecept.phar and codecept.phar.sha256 to the release.
    • docker: builds the trixie and alpine images, runs a smoke test, and pushes codeception/codeception:<version> and codeception/codeception:<version>-alpine to Docker Hub. The latest and latest-alpine tags are only moved if this is the highest version released so far, so patch releases of older versions don't overwrite them.

The phar is published only on GitHub releases. The phar files on codeception.com are no longer updated. The latest phar is always available at https://github.com/Codeception/Codeception/releases/latest/download/codecept.phar

Re-running a build

If a workflow failed, or a phar/image has to be rebuilt for an existing release, run it manually: Actions → phar or docker → Run workflow, enter the release tag (e.g. 5.3.8). The build config (phar/, Dockerfile) is taken from the branch you run the workflow on, and the Codeception sources from the tag.

The docker workflow needs the repository secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN.

Clone this wiki locally