Skip to content

Commit

Permalink
chore: add release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanChepurnyi committed Jan 7, 2025
1 parent 2e66d8c commit 1b7e5ca
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: Create Release

jobs:
verify-release:
uses: ./.github/workflows/rust-package.yml
release-please:
needs: verify-release
runs-on: ubuntu-24.04
steps:
- uses: googleapis/release-please-action@v4
with:
release-type: rust
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.0"
}
13 changes: 13 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "rust",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"draft": true,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit 1b7e5ca

Please sign in to comment.