From 60c2c4c303a35fd9d1ef49c83a7f00283546c046 Mon Sep 17 00:00:00 2001 From: James Forbes Date: Fri, 13 May 2022 11:45:12 +1000 Subject: [PATCH] Enable --minimize-semver-change for pr-release --- .github/workflows/merge.yml | 2 +- .github/workflows/pr.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 995cd1898..4b23a53d7 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -30,7 +30,7 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build - - run: npx pr-release merge --target master --source next --commit --force --clean --changelog ./docs/recent-changes.md --compact + - run: npx pr-release merge --target master --source next --commit --force --clean --changelog ./docs/recent-changes.md --compact --minimize-semver-change env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6543e9e1a..ad3ed2347 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,7 +26,7 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build - - run: npx pr-release pr --verbose --target master --source next --compact --verbose + - run: npx pr-release pr --verbose --target master --source next --compact --verbose --minimize-semver-change env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # The following will publish a prerelease to npm @@ -34,5 +34,5 @@ jobs: name: Setup NPM Auth env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: npx pr-release infer-prerelease --preid=next --verbose --publish + - run: npx pr-release infer-prerelease --preid=next --verbose --publish --minimize-semver-change name: Publish