Skip to content

feat(ci): add a pre-release workflow - #7

Merged
justsrc merged 2 commits into
mainfrom
feat/pre-release-workflow
Nov 11, 2026
Merged

justsrc merged 2 commits into
mainfrom
feat/pre-release-workflow

Conversation

@justsrc

@justsrc justsrc commented Nov 11, 2026

Copy link
Copy Markdown
Owner

This pull request introduces a new workflow for handling pre-releases and updates the existing release workflow to ensure that only one workflow runs per tag push. The main goal is to prevent pre-release tags from triggering the stable release workflow, which would otherwise publish a full release and update the Homebrew tap incorrectly. The changes are thoroughly documented and include operational improvements and clarifications in the project documentation.

Pre-release workflow addition and release workflow update:

Workflow and release process separation:

  • Added a new workflow .github/workflows/pre-release.yml that is triggered by pushing tags containing a hyphen (e.g., v0.2.0-rc.1). This workflow builds, tests, and publishes a marked pre-release, but never updates the Homebrew tap or serves as the latest release, ensuring pre-releases are isolated from stable user updates.
  • Updated .github/workflows/release.yml to only trigger on stable tags (e.g., v0.2.0) by excluding tags with a hyphen using tags: ["v*", "!v*-*"], so pre-release tags do not start the stable release workflow or update the tap. [1] [2]

Documentation and operational improvements:

  • Documented the new pre-release workflow and its operational differences from the stable release process in AGENTS.md, including details on version verification, asset packaging, and checksum publication. The documentation also explains why the Homebrew tap is never updated for pre-releases and how the workflow separation is enforced.

These changes ensure a clear separation between stable releases and pre-releases, preventing accidental promotion of pre-release builds to end-users and maintaining the integrity of the Homebrew tap.

@justsrc
justsrc merged commit bb73597 into main Nov 11, 2026
19 checks passed
@justsrc
justsrc deleted the feat/pre-release-workflow branch November 11, 2026 17:42
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