Skip to content

Commit

Permalink
ci: Add release please (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
gchtr authored Sep 9, 2024
1 parent a015f41 commit abd9022
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
push:
branches:
- 1.x

permissions:
contents: write
pull-requests: write

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
target-branch: ${{ github.ref_name }}
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.1"
}
12 changes: 12 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "php",
"prerelease": false,
"draft": true,
"pull-request-header": "Release-please has created a release",
"packages": {
".": {
"changelog-path": "CHANGELOG.md"
}
}
}

0 comments on commit abd9022

Please sign in to comment.