Skip to content

Commit

Permalink
build: fix release args (#27188)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Feb 9, 2024
1 parent 552a2d9 commit 9146e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/prepare-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const program = new Command('pnpm release:prepare')
.description('Build docker images')
.option('--platform <type>', 'docker platforms to build')
.option('--version <version>', 'version to use as tag', parseVersion)
.option('--sha <type>', 'git sha')
.option('--tries <tries>', 'number of tries for docker build', parseInt)
.option(
'--delay <delay>',
Expand Down
1 change: 1 addition & 0 deletions tools/publish-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const program = new Command('pnpm release:prepare')
.description('Build docker images')
.option('--platform <type>', 'docker platforms to build')
.option('--version <version>', 'version to use as tag', parseVersion)
.option('--sha <type>', 'git sha')
.option('--exit-on-error <boolean>', 'exit on docker error', (s) =>
s ? s !== 'false' : undefined,
);
Expand Down

0 comments on commit 9146e60

Please sign in to comment.