Skip to content

release-rust: A partial or broken daily beta can't be repaired the same day #623

Closed

Description

@zackees

Problem

  • check sets skip=true when the day's tag already exists (release-rust.yaml:47). After a partial release, a dispatch does nothing, and the only recovery is deleting the release and tag by hand.
  • The tag date comes from date -u inside the job. Scheduled runs started 6–8 h late (10/11 at 15:30Z, 10/13 at 16:50Z, against a 09:00Z cron).
  • A dispatch from a non-master ref would release that ref's SHA under the daily tag.

Fix

  • Add a dispatch input to replace or complete the day's release (gh release upload --clobber).
  • Guard on github.ref == 'refs/heads/master'.
  • Re-check the tag in the release job.
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

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions