Skip to content

Commit de5d2e3

Browse files
ci: adding release-please (#22)
Using the release process from Google's release-please tooling and workflow. Google's release-please opens a release pull request, which automates CHANGELOG generation and version bumps, by parsing git history for Conventional Commit messages. Upon merging the release pull request a new release is created. * https://github.com/googleapis/release-please * https://github.com/google-github-actions/release-please-action
1 parent 17b10e1 commit de5d2e3

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Continuous Delivery (CD)
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
13+
jobs:
14+
release-please:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: googleapis/release-please-action@v4
18+
with:
19+
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

release-please-config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"changelog-type": "github",
3+
"release-type": "simple",
4+
"pull-request-title-pattern": "chore: release ${version}",
5+
"packages": {
6+
".": {}
7+
}
8+
}

0 commit comments

Comments
 (0)