Skip to content

Add the shared Release workflow - #212

Merged
harikt merged 1 commit into
3.xfrom
claude/add-release-workflow
Sep 9, 2026
Merged

harikt merged 1 commit into
3.xfrom
claude/add-release-workflow

Conversation

@harikt

@harikt harikt commented Sep 9, 2026

Copy link
Copy Markdown
Member

This package had no release workflow, so cutting a release meant tagging by hand — which is exactly what the shared workflow exists to prevent. Packagist derives versions from tags, so a tag is a published version the moment it exists, and checks that run after a tag push cannot un-publish anything. The shared workflow creates the tag last, from the exact commit that passed every check.

Adds .github/workflows/release.yml, calling auraphp/bin/.github/workflows/release.yml@v1.0.0. It is the same caller Aura.Filter uses, with no per-package tuning — the defaults fit.

Checked, not assumed

  • PHP 8.4. The shared workflow's pre-release test run defaults to PHP 8.4. The suite was run on 8.4 here: OK (77 tests, 238 assertions). require.php is >=5.5.0, no upper bound.
  • Change log. This package uses CHANGES.md, not CHANGELOG.md. The shared workflow looks for both and takes whichever is present, so no changelog-file input is needed. Its # N.N.N headings parse; the top one resolves to 3.4.2.

Releasing

Actions → Release → Run workflow, pick 3.x, type the version. Or:

gh workflow run release.yml --ref 3.x -f version=3.4.3

The version typed must match the version at the top of CHANGES.md (or, for a pre-release like 3.5.0-alpha1, its base version).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Lgup8xLZHLQmavt7JoEQ4C


Generated by Claude Code

Releasing this package meant tagging by hand, which is what the shared
workflow exists to prevent: Packagist derives versions from tags, so a tag
is a published version the moment it exists, and checks that run after a
tag push cannot un-publish anything.

The caller is the same one Aura.Filter uses, with no per-package tuning.
The defaults suit this package: the test suite passes on the workflow's
default PHP 8.4 (77 tests, 238 assertions), and the shared workflow finds
CHANGES.md on its own, so no changelog-file input is needed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lgup8xLZHLQmavt7JoEQ4C
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 0e8a594b-8609-4a35-8eb6-649cf268b855

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@harikt
harikt merged commit d5cc315 into 3.x Sep 9, 2026
25 of 26 checks passed
@harikt
harikt deleted the claude/add-release-workflow branch September 9, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant