fix: accept YAML-declared artifact lanes

This commit is contained in:
root
2026-07-16 21:40:27 +02:00
parent 2823ae44b4
commit 392f2810ad
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ const sourceStates = new Set([
"source-present",
"intentionally-disabled"
]);
const runtimeArtifactLanePattern = /^v\d{2,}$/u;
const runtimeArtifactLanePattern = /^[a-z][a-z0-9-]*$/u;
const ciArtifactIdentityEnvNames = [
"HWLAB_CI_ARTIFACT_RUN_ID",
@@ -205,7 +205,7 @@ function printHelp() {
"Commit-pinned artifact build/publish helper for controlled CI execution.",
"",
"options:",
" --lane LANE node or runtime lane vNN; default: node",
" --lane LANE node or a lane declared in deploy.lanes; default: node",
` --catalog-path PATH default: ${defaultCatalogPath}`,
` --deploy-config PATH default: ${defaultDeployPath}`,
" --image-tag-mode MODE short or full; v02 uses full source commit IDs",