Enable --minimize-semver-change for pr-release
This commit is contained in:
parent
dbfe373733
commit
bbf343bb3b
2 changed files with 3 additions and 3 deletions
2
.github/workflows/merge.yml
vendored
2
.github/workflows/merge.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- 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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
|
|
|
||||||
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- 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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
# The following will publish a prerelease to npm
|
# The following will publish a prerelease to npm
|
||||||
|
|
@ -34,5 +34,5 @@ jobs:
|
||||||
name: Setup NPM Auth
|
name: Setup NPM Auth
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
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
|
name: Publish
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue