Skip to content

Add the shared Release workflow - #50

Open
harikt wants to merge 1 commit into
4.xfrom
claude/add-release-workflow
Open

Add the shared Release workflow#50
harikt wants to merge 1 commit into
4.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. This package's CI matrix already runs up to 8.5, and require.php is ^7.2 || ^8.0, which admits 8.4.
  • Change log. CHANGELOG.md carries parseable ## N.N.N headings; the top one resolves to 4.0.4, so the release-notes step has something to extract.

Releasing

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

gh workflow run release.yml --ref 4.x -f version=4.0.5

The version typed must match the version at the top of CHANGELOG.md (or, for a pre-release like 4.1.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: its CI already runs the suite on the
workflow's default PHP 8.4, and CHANGELOG.md already carries parseable
version headings for the release notes to be taken from.

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: 25511ea7-dc38-4718-817c-859d5b95defe

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.

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