From 75217e690c33f90c88f2b5f1c6e1025edf4312cf Mon Sep 17 00:00:00 2001 From: Dmitriy Mozgovoy Date: Mon, 19 Dec 2022 18:43:57 +0200 Subject: [PATCH] fix(ci): fix release script inputs; --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b4a2b7a41..4f1be09d3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }} - BETA_ARG: ${{ github.event.inputs.beta == true && '--preRelease=beta' || '' }} - NPM_ARG: ${{ github.event.inputs.npm == false && '--no-npm' || '' }} - DRY_ARG: ${{ github.event.inputs.dry == true && '--dry-run' || '' }} + BETA_ARG: ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }} + NPM_ARG: ${{ github.event.inputs.npm == 'false' && '--no-npm' || '' }} + DRY_ARG: ${{ github.event.inputs.dry == 'true' && '--dry-run' || '' }} run: npm run release -- --ci --verbose $NPM_ARG $TYPE_ARG $BETA_ARG $DRY_ARG