Add the shared Release workflow - #50
Open
harikt wants to merge 1 commit into
Open
Conversation
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
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, callingauraphp/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
require.phpis^7.2 || ^8.0, which admits 8.4.CHANGELOG.mdcarries parseable## N.N.Nheadings; the top one resolves to4.0.4, so the release-notes step has something to extract.Releasing
Actions → Release → Run workflow, pick
4.x, type the version. Or:The version typed must match the version at the top of
CHANGELOG.md(or, for a pre-release like4.1.0-alpha1, its base version).🤖 Generated with Claude Code
https://claude.ai/code/session_01Lgup8xLZHLQmavt7JoEQ4C
Generated by Claude Code