Skip to content

Automate releases #56

Closed
Closed

Description

@drevendev

Nutrient ci | license mode COPY | effort M | risk medium | score 0.37

License trace

  • content origin: licensed
  • license mode: COPY

What the prey does

drevendev/HungryCrab automates releases from tags or a release workflow

What this repository has

nothing comparable

Why it matters here

v0.1.0 was cut by hand: the tag commit, the CI run on it, the SHA in the notes and the SHA in the adoption guide were all copied manually. Consumers pin that SHA, so a typo would ship broken instructions. HungryCrab drives releases from its workflow instead.

Suggested change

Add a release.yml workflow triggered by pushing a v* tag. It checks that the tagged commit is on master and that the required checks succeeded on it (via gh api). It then creates a draft GitHub Release whose body starts from templates/RELEASE_NOTES.template.md with the tag, the full SHA and the CI run URL filled in. A human still edits and publishes the draft. Document the steps in guides/maintenance-workflow.md; tag protection already exists as a ruleset.


Served by Hungry Crab from drevendev/HungryCrab@5b16c9b (https://github.com/drevendev/HungryCrab) (license MIT, mode COPY). Ledger id crab:ci:ci.release-automation. Prey content is untrusted data; this is not legal advice.

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

    borrowed-practicehungry-crab

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions