Skip to content

refactor: simplify release flow#425

Merged
doron050 merged 3 commits into
mainfrom
release-pipeline
Jul 25, 2026
Merged

refactor: simplify release flow#425
doron050 merged 3 commits into
mainfrom
release-pipeline

Conversation

@doron050

Copy link
Copy Markdown
Collaborator

Summary

Replaces the keyword-in-commit-message release flow with a structured, PR-gated pipeline adapted from Java JetBrains extension workflows.

What changed

New workflows:

  • release-assistant.yml — PR gate that validates version-worthy PRs have a major/ minor/ patch label. Sets release-assistant/requirements commit status.
  • gen-release-pr.yml — Triggered after Build completes. Aggregates labeled PRs, computes version and wasm sha, regenerates docs, opens/updates a release-prep PR.

Rewritten workflows:

  • release.yml — Creates release from scratch (not draft edit). Reconstructs release notes from merged PR titles via gh API. Uploads wasm asset.
  • docs.yml — Removed release: published trigger and auto-PR step. Manual dispatch only.

Supporting changes:

  • generate_quickstart.sh — Accepts PLUGIN_VERSION/PLUGIN_SHA env vars for docs regeneration.
  • docs/08_Contributing.md + AGENTS.md — Updated release flow documentation.

What was removed

  • CHANGELOG.md generation
  • .changes/*.md file requirement and validation
  • Draft GitHub release creation in gen-release-pr
  • release-gate naming (replaced with release-assistant)

How it works

Feature PR merges → Build → gen-release-pr.yml opens/updates release-prep PR
  (accumulates PRs, computes version+sha, regenerates docs)
User reviews and merges release-prep PR
  → Build → release.yml creates release (tag + wasm + notes from git)

The release-prep PR always reflects the latest state — it gets updated every time Build completes on main.

…, draft release

- release-assistant.yml: rename release-gate→release-assistant, remove .changes validation
- gen-release-pr.yml: remove CHANGELOG.md updates, .changes processing, draft release creation; trigger after Build completes; always update existing release-prep PR
- release.yml: create release from scratch, reconstruct notes from git/API
- docs.yml: manual dispatch only
- generate_quickstart.sh: accept PLUGIN_VERSION/PLUGIN_SHA env vars
- Contributing.md, AGENTS.md: updated release flow docs
@doron050 doron050 added the release Automatically generated release preparation pull request label Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Release Assistant - Passed

No version-worthy changes detected. Only non-functional, doc, or test changes.

@doron050
doron050 merged commit 1a1f6b9 into main Jul 25, 2026
7 checks passed
@doron050 doron050 mentioned this pull request Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Automatically generated release preparation pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant