Skip to content

Commit

Permalink
ci: added release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
SachsenspieltCoding committed Jan 2, 2024
1 parent addf188 commit c64b5e1
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: Release Please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.RELEASEPLEASE_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.0"
}
30 changes: 30 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"release-type": "node",

"draft-pull-request": true,
"pull-request-title-pattern": "chore: release ${version}",
"pull-request-header": "📦 Release PR",
"pull-request-footer": "🤖 This pull request was automatically generated. To publish the version, please merge the pull request.",

"include-component-in-tag": false,

"changelog-sections": [
{ "type": "feat", "section": "📕 Features" },
{ "type": "change", "section": "🔄 Changes" },
{ "type": "fix", "section": "🪲 Bug Fixes" },
{ "type": "docs", "section": "📝 Documentation" },
{ "type": "style", "section": "🎨 Style Changes" },
{ "type": "refactor", "section": "🔧 Code Refactoring" },
{ "type": "deps", "section": "⚙️ Dependencies" },
{ "type": "content", "section": "📖 Content Changes" },
{ "type": "chore", "section": "🔧 Other Changes" },
{ "type": "test", "section": "🧪 Testing Changes" },
{ "type": "ci", "section": "🚀 CI/CD Changes" }
],

"packages": {
".": {}
},

"$schema": "https://github.com/googleapis/release-please/raw/main/schemas/config.json"
}

0 comments on commit c64b5e1

Please sign in to comment.