mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 04:02:01 +00:00
feat: acp http adapter
This commit is contained in:
parent
2ba630c180
commit
b4c8564cb2
217 changed files with 18785 additions and 17400 deletions
|
|
@ -24,6 +24,7 @@ export interface ReleaseOpts {
|
|||
root: string;
|
||||
version: string;
|
||||
latest: boolean;
|
||||
minorVersionChannel: string;
|
||||
/** Commit to publish release for. */
|
||||
commit: string;
|
||||
/** Optional version to reuse artifacts and Docker images from instead of building. */
|
||||
|
|
@ -434,6 +435,10 @@ async function main() {
|
|||
console.log(`Auto-determined latest flag: ${isLatest} (version: ${version})`);
|
||||
}
|
||||
|
||||
const parsedVersion = semver.parse(version);
|
||||
assert(parsedVersion !== null, "version must be parseable");
|
||||
const minorVersionChannel = `${parsedVersion.major}.${parsedVersion.minor}.x`;
|
||||
|
||||
// Setup opts
|
||||
let commit: string;
|
||||
if (opts.overrideCommit) {
|
||||
|
|
@ -449,6 +454,7 @@ async function main() {
|
|||
root: ROOT_DIR,
|
||||
version: version,
|
||||
latest: isLatest,
|
||||
minorVersionChannel,
|
||||
commit,
|
||||
reuseEngineVersion: opts.reuseEngineVersion,
|
||||
};
|
||||
|
|
@ -469,6 +475,7 @@ async function main() {
|
|||
console.log(`\nRelease Details:`);
|
||||
console.log(` Version: ${releaseOpts.version}`);
|
||||
console.log(` Latest: ${releaseOpts.latest}`);
|
||||
console.log(` Minor channel: ${releaseOpts.minorVersionChannel}`);
|
||||
console.log(` Commit: ${releaseOpts.commit}`);
|
||||
if (releaseOpts.reuseEngineVersion) {
|
||||
console.log(` Reusing engine version: ${releaseOpts.reuseEngineVersion}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue