Skip to content

Release workflow: accept vX.Y.Z-mas.N tags - #5

Merged
mbarrerarod merged 1 commit into
mainfrom
cursor/release-mas-tags-5b3d
Nov 12, 2026
Merged

mbarrerarod merged 1 commit into
mainfrom
cursor/release-mas-tags-5b3d

Conversation

@mbarrerarod

@mbarrerarod mbarrerarod commented Nov 12, 2026 •

Copy link
Copy Markdown

Description

This PR updates the release workflows to accept fork-specific version tags with the -mas.N suffix (e.g., v1.4.0-mas.1).

Changes

  1. release.yml: Relaxed tag validation regex in the "Extract version from tag" step from ^v[0-9]+\.[0-9]+\.[0-9]+$ to ^v[0-9]+\.[0-9]+\.[0-9]+(-mas\.[0-9]+)?$
  2. release-trigger.yml: Updated manual version validation to accept -mas.N suffix
  3. publish-pypi.yml: Updated tag format validation to accept -mas.N suffix
  4. RELEASE-PROCESS.md: Updated documentation to reflect the new tag format
  5. release.yml: Changed install URL in release notes from github/spec-kit to MAS-Consultores/spec-kit

Behavior

  • Tags like v1.4.0-mas.1 are now accepted by all release workflows
  • Releases from -mas.N tags are created as normal releases (not pre-releases)
  • Standard semver tags (vX.Y.Z) continue to work unchanged
  • The VERSION_NO_V derivation (${VERSION#v}) handles -mas.N correctly

Creating a release for v1.4.0-mas.1

After merging this PR, the release for the existing tag v1.4.0-mas.1 can be produced using:

gh release create v1.4.0-mas.1

The release.yml workflow only triggers on tag pushes (on: push: tags: - 'v*') and does not support workflow_dispatch, so re-running it for an existing tag is not available. The gh release create command is the appropriate method.

Testing

  • Verified regex patterns accept both vX.Y.Z and vX.Y.Z-mas.N formats
  • Verified existing semver validation continues to work
  • Checked that version parsing (VERSION_NO_V, release title, asset names) handles -mas.N correctly

AI Disclosure

  • I did use AI assistance (Cursor Agent implemented this change)
Open in Web Open in Cursor 

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1b1aa25e-607d-42d1-8a6c-8ea9455b7e05
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

- Relax tag validation regex from ^v[0-9]+\.[0-9]+\.[0-9]+$ to
  ^v[0-9]+\.[0-9]+\.[0-9]+(-mas\.[0-9]+)?$ in release.yml, release-trigger.yml,
  and publish-pypi.yml
- Update error messages to include the -mas.N format
- Point release notes install URL to MAS-Consultores/spec-kit fork
- Update RELEASE-PROCESS.md to document -mas.N tag format
- Tags with -mas.N suffix create normal (not pre-release) releases

Co-authored-by: mbarrerarod <mbarrerarod@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/release-mas-tags-5b3d branch from 6b0570f to 1fdd62c Compare November 12, 2026 16:34
@mbarrerarod
mbarrerarod merged commit d0c053e into main Nov 12, 2026
6 of 14 checks passed
cursor Bot pushed a commit that referenced this pull request Nov 13, 2026
The NestJS preset now ships templates/check-casl.ts for implementers to copy into scripts/check-casl.ts and run from pnpm verify.

Assisted-by: Cursor Grok 4.7 (model: grok-4.7, autonomous)
Co-authored-by: mbarrerarod <mbarrerarod@users.noreply.github.com>
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.

2 participants