diff --git a/tools/prepare-release.ts b/tools/prepare-release.ts index a393a3971f1fcf..5fd25ce24579da 100644 --- a/tools/prepare-release.ts +++ b/tools/prepare-release.ts @@ -14,6 +14,7 @@ const program = new Command('pnpm release:prepare') .description('Build docker images') .option('--platform ', 'docker platforms to build') .option('--version ', 'version to use as tag', parseVersion) + .option('--sha ', 'git sha') .option('--tries ', 'number of tries for docker build', parseInt) .option( '--delay ', diff --git a/tools/publish-release.ts b/tools/publish-release.ts index 07b353e727bd7d..ba80df332623d1 100644 --- a/tools/publish-release.ts +++ b/tools/publish-release.ts @@ -13,6 +13,7 @@ const program = new Command('pnpm release:prepare') .description('Build docker images') .option('--platform ', 'docker platforms to build') .option('--version ', 'version to use as tag', parseVersion) + .option('--sha ', 'git sha') .option('--exit-on-error ', 'exit on docker error', (s) => s ? s !== 'false' : undefined, );