Skip to content

Commit

Permalink
ci(release-please): try fix issues with release please config
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Dec 22, 2023
1 parent cc5bcfa commit 46577f2
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4

- name: Release Please
uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN_GITHUB }}

- name: Checkout Code
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4

- name: Use Node 20.x
uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
Expand Down
60 changes: 36 additions & 24 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,70 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false,
"draft-pull-request": true,
"include-component-in-tag": false,
"include-v-in-tag": true,
"separate-pull-requests": false,
"skip-github-release": false,
"versioning": "default",
"pull-request-header": ":robot: I have created a release *beep* *boop*",
"pull-request-title-pattern": "chore${scope}: release${component} ${version}",
"changelog-path": "CHANGELOG.md",
"changelog-host": "https://github.com",
"changelog-type": "default",
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
"section": "Features"
},
{
"type": "feature",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
"section": "Bug Fixes"
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "build",
"section": "Build Related",
"hidden": false
"type": "revert",
"section": "Reverts"
},
{
"type": "chore",
"section": "Chores",
"hidden": false
"type": "docs",
"section": "Documentation"
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
"type": "style",
"section": "Styles"
},
{
"type": "ci",
"section": "CI",
"hidden": false
"type": "chore",
"section": "Miscellaneous Chores"
},
{
"type": "refactor",
"section": "Refactoring",
"hidden": false
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests",
"hidden": false
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration"
}
]
}
Expand Down

0 comments on commit 46577f2

Please sign in to comment.