Skip to content

Commit

Permalink
chore: tweak settings of release-please (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 authored Feb 21, 2024
1 parent 889b7d9 commit 1b77635
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 68 deletions.
118 changes: 59 additions & 59 deletions .github/release/release-main-config.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
{
"packages": {
".": {
"package-name": "zenstack-monorepo",
"component": "Monorepo"
},
"packages/ide/jetbrains": {
"package-name": "jetbrains",
"component": "JetBrains_IDE"
},
"packages/language": {
"package-name": "@zenstackhq/language",
"component": "Language"
},
"packages/misc/redwood": {
"package-name": "@zenstackhq/redwood",
"component": "Redwood"
},
"packages/plugins/openapi": {
"package-name": "@zenstackhq/openapi",
"component": "OpenAPI_Plugin"
},
"packages/plugins/swr": {
"package-name": "@zenstackhq/swr",
"component": "SWR_Plugin"
},
"packages/plugins/tanstack-query": {
"package-name": "@zenstackhq/tanstack-query",
"component": "Tanstack_Query_Plugin"
},
"packages/plugins/trpc": {
"package-name": "@zenstackhq/trpc",
"component": "tRPC_Plugin"
},
"packages/runtime": {
"package-name": "@zenstackhq/runtime",
"component": "Runtime"
},
"packages/sdk": {
"package-name": "@zenstackhq/sdk",
"component": "SDK"
},
"packages/server": {
"package-name": "@zenstackhq/server",
"component": "Server"
},
"packages/testtools": {
"package-name": "@zenstackhq/testtools",
"component": "Test_Tools"
}
},
"pull-request-footer": "This PR was generated by [Release-Please](https://github.com/googleapis/release-please), and approved by the ZenStack Team.",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"sequential-calls": true,
"separate-pull-requests": true,
"versioning": "default",
"release-type": "node",
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
"packages": {
".": {
"package-name": "zenstack-monorepo",
"component": "Monorepo"
},
"packages/ide/jetbrains": {
"package-name": "jetbrains",
"component": "JetBrains_IDE"
},
"packages/language": {
"package-name": "@zenstackhq/language",
"component": "Language"
},
"packages/misc/redwood": {
"package-name": "@zenstackhq/redwood",
"component": "Redwood"
},
"packages/plugins/openapi": {
"package-name": "@zenstackhq/openapi",
"component": "OpenAPI_Plugin"
},
"packages/plugins/swr": {
"package-name": "@zenstackhq/swr",
"component": "SWR_Plugin"
},
"packages/plugins/tanstack-query": {
"package-name": "@zenstackhq/tanstack-query",
"component": "Tanstack_Query_Plugin"
},
"packages/plugins/trpc": {
"package-name": "@zenstackhq/trpc",
"component": "tRPC_Plugin"
},
"packages/runtime": {
"package-name": "@zenstackhq/runtime",
"component": "Runtime"
},
"packages/sdk": {
"package-name": "@zenstackhq/sdk",
"component": "SDK"
},
"packages/server": {
"package-name": "@zenstackhq/server",
"component": "Server"
},
"packages/testtools": {
"package-name": "@zenstackhq/testtools",
"component": "Test_Tools"
}
},
"pull-request-footer": "This PR was generated by [Release-Please](https://github.com/googleapis/release-please).",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"sequential-calls": true,
"separate-pull-requests": false,
"versioning": "prerelease",
"release-type": "node",
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
9 changes: 0 additions & 9 deletions .github/workflows/management-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,12 @@ jobs:
with:
egress-policy: audit

# This tells you useful infomation about the workflow, but it's not required (hence commented out) - it's just nice to have
# - name: Workflow Telemetry
# uses: catchpoint/[email protected]
# with:
# comment_on_pr: false
# theme: dark
# proc_trace_sys_enable: true

- uses: google-github-actions/release-please-action@v4
id: release
with:
config-file: '.github/release/release-main-config.json'
manifest-file: '.github/release/.release-manifest.json'
target-branch: ${{ github.ref_name == 'dev' && 'main' || github.ref_name }}
include-component-in-tag: true

- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
Expand Down

0 comments on commit 1b77635

Please sign in to comment.