Skip to content

Commit

Permalink
fix(ci): fix release script inputs;
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Dec 19, 2022
1 parent c1fc33c commit 75217e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -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

0 comments on commit 75217e6

Please sign in to comment.