From 812aaa074236124def461bea03401c135cc869a3 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Fri, 9 Feb 2024 16:29:50 +0100 Subject: [PATCH] buid: fix release args --- tools/prepare-release.ts | 1 + tools/publish-release.ts | 1 + 2 files changed, 2 insertions(+) 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, );