fix: release.yml not supporting b0.X.X

This commit is contained in:
pieeebot committed 2026-09-08 12:50:27 +00:00
1 parent fb793310a6
commit 886c0c8e29
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
steps:
- name: Validate version format
run: |
if (-not ("${{ inputs.version }}" -match '^v\d+\.\d+\.\d+[a-zA-Z0-9.-]*$')) {
if (-not ("${{ inputs.version }}" -match '^[vb]\d+\.\d+\.\d+[a-zA-Z0-9.-]*$')) {
Write-Error "Version '${{ inputs.version }}' doesn't match expected format (e.g. v1.0.0)"
exit 1
}