feat(release): create prerelease entries for candidates #113

Merged
jwilger merged 1 commit from test/release-prepare-forgejo-prerelease into main 2026-05-06 10:43:25 -07:00
Owner

Summary

  • Create or update a prerelease Forgejo Release entry for each release candidate tag after candidate images are published.
  • Use RELEASE_PUBLISH_TOKEN for candidate prerelease Release API calls and keep release creation idempotent with edit-before-create fallback.
  • Update release tooling tests, operations docs, and the threat model for the broadened candidate prerelease behavior.

Verification

  • nix develop --command bash tests/release_tooling_test.sh
## Summary - Create or update a prerelease Forgejo Release entry for each release candidate tag after candidate images are published. - Use RELEASE_PUBLISH_TOKEN for candidate prerelease Release API calls and keep release creation idempotent with edit-before-create fallback. - Update release tooling tests, operations docs, and the threat model for the broadened candidate prerelease behavior. ## Verification - nix develop --command bash tests/release_tooling_test.sh
feat(release): create prerelease entries for candidates
All checks were successful
CI / Nix flake check (pull_request) Successful in 2m47s
CI / auto_review semantic review (pull_request) Successful in 2s
auto_review auto_review: no findings
Publish release / release-publish (pull_request) Has been skipped
70f38ee1d1
auto-review left a comment

This PR introduces the creation or update of prerelease entries for release candidates in the Forgejo workflow, ensuring idempotency with an edit-before-create approach. The changes include updates to the release preparation workflow, documentation, and tests to support this new behavior. The modifications appear safe to merge.

Walkthrough

  • .forgejo/workflows/release-prepare.yml:

    • Adds logic to create or update prerelease entries for release candidates using tea commands.
    • Ensures idempotency by attempting to edit before creating a release.
  • docs/OPERATIONS.md:

    • Updates documentation to reflect the new prerelease behavior in the release process.
  • docs/THREAT-MODEL.md:

    • Adjusts the threat model to account for the changes in release token usage and prerelease creation.
  • tests/release_tooling_test.sh:

    • Adds a new test to verify that the release preparation workflow creates a prerelease entry for each release candidate.
This PR introduces the creation or update of prerelease entries for release candidates in the Forgejo workflow, ensuring idempotency with an edit-before-create approach. The changes include updates to the release preparation workflow, documentation, and tests to support this new behavior. The modifications appear safe to merge. ## Walkthrough - **.forgejo/workflows/release-prepare.yml**: - Adds logic to create or update prerelease entries for release candidates using `tea` commands. - Ensures idempotency by attempting to edit before creating a release. - **docs/OPERATIONS.md**: - Updates documentation to reflect the new prerelease behavior in the release process. - **docs/THREAT-MODEL.md**: - Adjusts the threat model to account for the changes in release token usage and prerelease creation. - **tests/release_tooling_test.sh**: - Adds a new test to verify that the release preparation workflow creates a prerelease entry for each release candidate.
jwilger deleted branch test/release-prepare-forgejo-prerelease 2026-05-06 10:43:25 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Slipstream/auto_review!113
No description provided.