freenas-proxmox/.github
Kevin Adams ccdc7a43f6 Fix version numbering: anchor tags set series without triggering release
Two changes:
1. BASE_VERSION now strips pre-release suffixes from the nearest ancestor tag
   (e.g. v2.3.0-pre → 2.3.0), so anchor tags like v2.3.0-pre make feature
   branch builds say 2.3.0-alpha+<sha> without "pre" leaking into the version.

2. Stable release detection changed from glob (refs/tags/v*) to an exact
   semver regex (^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$). Tags with a suffix
   (v2.3.0-pre, v2.3.0-rc1) build and validate but do not publish to Cloudsmith
   stable — they fall through to the 'none' channel.

This lets us place a v2.3.0-pre anchor tag to version the development series
correctly, then later push v2.3.0 as the actual stable release.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 23:59:26 -04:00
..
ISSUE_TEMPLATE Phase 1 project revival + PR fixes (#207, #209, #213) 2026-05-15 14:22:04 -04:00
workflows Fix version numbering: anchor tags set series without triggering release 2026-05-15 23:59:26 -04:00
FUNDING.yml Phase 1 project revival + PR fixes (#207, #209, #213) 2026-05-15 14:22:04 -04:00
PULL_REQUEST_TEMPLATE.md Phase 1 project revival + PR fixes (#207, #209, #213) 2026-05-15 14:22:04 -04:00
stale.yml Phase 1 project revival + PR fixes (#207, #209, #213) 2026-05-15 14:22:04 -04:00