2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

fix(ci): fix release script inputs;

This commit is contained in:
Dmitriy Mozgovoy
2022-12-19 18:43:57 +02:00
committed by GitHub
parent c1fc33c5e2
commit 75217e690c
+3 -3
View File
@@ -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