Skip to content

Commit

Permalink
chore: bootstrap release-release for automatic changelog & version ch…
Browse files Browse the repository at this point in the history
…anges (#7209)

* ci: bootstrap release-please

* ci: also add staging as the branch to trigger

* ci: add release-hotfix for production branch

* fix: don't include component in released Git tag

* fix: update the boostrap version & git hash
  • Loading branch information
JimmyLv committed Oct 11, 2022
1 parent c5b7306 commit bafd2e8
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release-hotfix.yml
@@ -0,0 +1,14 @@
on:
push:
branches:
- production
name: release-hotfix
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
default-branch: production
command: manifest
token: ${{secrets.GITHUB_TOKEN}}
14 changes: 14 additions & 0 deletions .github/workflows/release-please.yml
@@ -0,0 +1,14 @@
on:
push:
branches:
- master
- staging
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
command: manifest
token: ${{secrets.GITHUB_TOKEN}}
7 changes: 7 additions & 0 deletions .release-please-manifest.json
@@ -0,0 +1,7 @@
{
".": "6.77.0",
"packages/client": "6.77.0",
"packages/server": "6.77.0",
"packages/gql-executor": "6.77.0",
"packages/integration-tests": "6.77.0"
}
18 changes: 18 additions & 0 deletions release-please-config.json
@@ -0,0 +1,18 @@
{
"bootstrap-sha": "a119339b0efbda622bdc37467497d6d64e746ebb",
"last-release-sha": "a119339b0efbda622bdc37467497d6d64e746ebb",
"plugins": ["node-workspace"],
"draft-pull-request": true,
"group-pull-request-title-pattern": "chore: release v${version}",
"include-component-in-tag": false,
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node"
},
"packages/client": {},
"packages/server": {},
"packages/gql-executor": {},
"packages/integration-tests": {}
}
}

0 comments on commit bafd2e8

Please sign in to comment.