Skip to content

Commit

Permalink
ci: adding release-please (#50)
Browse files Browse the repository at this point in the history
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/googleapis/release-please-action
  • Loading branch information
DeveloperC286 authored Oct 19, 2024
1 parent 186d077 commit 8b249cf
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Continuous Delivery (CD)

on:
push:
branches:
- main

# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"6.0.1"}
9 changes: 9 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changelog-type": "github",
"release-type": "rust",
"pull-request-title-pattern": "chore: release ${version}",
"include-component-in-tag": false,
"packages": {
".": {}
}
}

0 comments on commit 8b249cf

Please sign in to comment.