From b4b5b360ec9c9be80f69e99b436ef543072b8b43 Mon Sep 17 00:00:00 2001 From: Dmitriy Mozgovoy Date: Sat, 7 Jan 2023 18:04:51 +0200 Subject: [PATCH] chore(ci): updated release-it config; (#5446) --- .github/workflows/pr.yml | 2 +- package.json | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 779812c..77727af 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -37,7 +37,7 @@ jobs: 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' || '' }} - 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 id: package-version uses: martinbeentjes/npm-get-version-action@main diff --git a/package.json b/package.json index a2bb0f3..5b619aa 100644 --- a/package.json +++ b/package.json @@ -163,10 +163,12 @@ "commitMessage": "chore(release): v${version}", "push": true, "commit": true, - "tag": true + "tag": true, + "requireCommits": false }, "github": { - "release": false + "release": true, + "draft": true }, "npm": { "publish": false,