Skip to content

Release workflow: a dry run shows what changes and builds nothing #1654

Done

Description

@vmillet-dev

Context — A dry run of the release builds and signs every package: the one of 1.1.0 took 23 min 36 s, of which 14 s to draw the notes. Its packages are never published. Now that the site publishes itself, a build of the site would follow it for nothing.

Change — A dry run stops once the release is prepared: in about a minute it shows what the release would change and from what, and builds nothing.

To do

  • release-build runs for a real release only.
  • The summary of the run shows: the previous version and the new one, and the commit released; the diff of CHANGELOG.md; the commit and the tag that would be made; the body of the release page; the notes the update prompt would show; the names of the files that would be published; the pull request behind each entry and what filed it (already there).
  • What a dry run proved is proved elsewhere: packages, signatures and updates by packages.yml, on a pull request that touches packaging, with a key made for the run. The release's own key is no longer tried before the tag: prepare refuses, in both modes, when the signing key is not set (it is never printed).
  • website.yml does not run after a dry run.
  • docs/releasing.md (step 2, « If something goes wrong »), docs/architecture.md (« Releasing »), release-packaging.

Tests — Script tests of the summary; a dry run from main, read in full: no job after prepare, its duration noted here. No e2e scenario: the application does not change.

Activity

  1. added this to the The website milestone on Nov 25, 2026
  2. added
    refactor
    on Nov 25, 2026
  3. vmillet-dev commented on Nov 25, 2026

    @vmillet-dev
    OwnerAuthor

    Done by #1659, on dev/website. The workflow itself is still to be run: it is dispatched from main alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions