Skip to content

Commit

Permalink
ci: main branch only - fix bad release PR
Browse files Browse the repository at this point in the history
This fixes a bad release PR caused by too many commits between main
branach releases.  This should not be cherry-picked to any other
branch.
  • Loading branch information
joeyparrish committed Jun 20, 2023
1 parent e9ba2f4 commit 18ffa2c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
- uses: google-github-actions/release-please-action@v3
id: release
with:
# This command instructs the tool to use the config and manifest
# files below to decide the next version and the SHA of the previous
# release (used to compute the changelog). This is necessary if
# there are more than 250 commits between main branch releases.
command: manifest
config-file: .release-please-config.json
manifest-file: .release-please-manifest.json
# Required input to specify the release type (node package).
release-type: node
# Make sure we create the PR against the correct branch.
Expand Down
9 changes: 9 additions & 0 deletions .release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"last-release-sha": "393df0645f7f31fc7c637fd60834f8b9343cc4c5",
"packages": {
".": {
"include-component-in-tag": false,
"release-as": "4.4.0"
}
}
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "4.4.0"
}

0 comments on commit 18ffa2c

Please sign in to comment.