fix: accept nightly tags without 'v' prefix

goreleaser-pro publishes nightly releases as e.g. 2.16.0-eaeb08c50-nightly
(no 'v' prefix). Make the nightly tag regex tolerate either form, and
split the integration tests so OSS asserts the legacy fallback while
Pro asserts the new <version>-<sha>-nightly format.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2026-04-26 15:32:45 -03:00
parent 2c8756b88a
commit 7673f7fb5b
4 changed files with 11 additions and 8 deletions
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long