Skip to content

Commit

Permalink
Enable --minimize-semver-change for pr-release
Browse files Browse the repository at this point in the history
  • Loading branch information
JAForbes authored and StephanHoyer committed May 16, 2022
1 parent d0fa668 commit eb47c8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ 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
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
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

0 comments on commit eb47c8a

Please sign in to comment.