fix(ci): align CLI spec with test contract & resolve release validation conflict
This commit is contained in:
@@ -94,7 +94,6 @@ jobs:
|
|||||||
files: ./filtered-bin/release/*
|
files: ./filtered-bin/release/*
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
name: ${{ github.ref_name }}
|
name: ${{ github.ref_name }}
|
||||||
target_commitish: ${{ needs.preparation.outputs.commitish }}
|
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ function command_spec(command) {
|
|||||||
generate_reality_keypair: [ "server/service.uc", "generate-reality-keypair", 0 ],
|
generate_reality_keypair: [ "server/service.uc", "generate-reality-keypair", 0 ],
|
||||||
get_tls_certificate_sha256: [ "server/service.uc", "tls-certificate-sha256", 1 ],
|
get_tls_certificate_sha256: [ "server/service.uc", "tls-certificate-sha256", 1 ],
|
||||||
component_action: [ "components/action.uc", "component-action", 2 ],
|
component_action: [ "components/action.uc", "component-action", 2 ],
|
||||||
component_action_async: [ "components/updates.uc", "component-action-async", 3 ],
|
component_action_async: [ "components/updates.uc", "component-action-async", 2 ],
|
||||||
component_action_status: [ "components/updates.uc", "component-action-status", 1 ],
|
component_action_status: [ "components/updates.uc", "component-action-status", 1 ],
|
||||||
component_action_log: [ "components/updates.uc", "component-action-log", 2 ],
|
component_action_log: [ "components/updates.uc", "component-action-log", 2 ],
|
||||||
component_list_releases: [ "components/action.uc", "list-component-releases", 2 ],
|
component_list_releases: [ "components/action.uc", "list-component-releases", 2 ],
|
||||||
@@ -315,6 +315,8 @@ function run_spec(command, spec, user_args) {
|
|||||||
let count = int(spec[2] || 0);
|
let count = int(spec[2] || 0);
|
||||||
for (let i = 0; i < count; i++)
|
for (let i = 0; i < count; i++)
|
||||||
push(args, user_args[i] || "");
|
push(args, user_args[i] || "");
|
||||||
|
for (let i = count; i < length(user_args); i++)
|
||||||
|
push(args, user_args[i]);
|
||||||
|
|
||||||
return normalize_status(system(command_from_args(args)));
|
return normalize_status(system(command_from_args(args)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user