mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
chore(ci): updated release-it config; (#5446)
This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }}
|
TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }}
|
||||||
BETA_ARG: ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }}
|
BETA_ARG: ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }}
|
||||||
run: npm run release -- --ci --no-git --verbose $TYPE_ARG $BETA_ARG
|
run: npm run release -- --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $TYPE_ARG $BETA_ARG $DRY_ARG
|
||||||
- name: get-npm-version
|
- name: get-npm-version
|
||||||
id: package-version
|
id: package-version
|
||||||
uses: martinbeentjes/npm-get-version-action@main
|
uses: martinbeentjes/npm-get-version-action@main
|
||||||
|
|||||||
+4
-2
@@ -163,10 +163,12 @@
|
|||||||
"commitMessage": "chore(release): v${version}",
|
"commitMessage": "chore(release): v${version}",
|
||||||
"push": true,
|
"push": true,
|
||||||
"commit": true,
|
"commit": true,
|
||||||
"tag": true
|
"tag": true,
|
||||||
|
"requireCommits": false
|
||||||
},
|
},
|
||||||
"github": {
|
"github": {
|
||||||
"release": false
|
"release": true,
|
||||||
|
"draft": true
|
||||||
},
|
},
|
||||||
"npm": {
|
"npm": {
|
||||||
"publish": false,
|
"publish": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user