Skip to content

Rerunning a release run doesn't reproduce its release: a branch run publishes a second pre-release under a new timestamp, and a tag run fails #980

Closed

Description

@David-Noble-at-work

Rerunning a release run doesn't reproduce its release; under the ruling that every operation is idempotent, that's a bug.

  • A branch run (develop, main, release/*) recomputes its version from the clock (release.yaml:49, :53, :57: $(date +%Y%m%d%H%M%S)). A rerun of a run that already published therefore publishes a second pre-release of the same commit under a new tag.
  • A tag run (v*) takes its version from the tag, and gh release create (release.yaml:78-85) fails on the rerun because the release exists.

Found 2026-09-29 at e2653443, drafting #962's plan.

Resolution

A rerun produces the same release as the first run: the version derives from the commit, not the clock (for example its commit time, or a stamp recorded at the first run), and the create step creates or updates rather than failing.

Plan and design documents

Kind Document
Plan docs/plans/fix/980-rerunning-a-release-run-doesn-t.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions