Skip to content

Commit 42091d5

Browse files
committed
ci: add release please
1 parent b9500d3 commit 42091d5

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release-please:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: google-github-actions/release-please-action@v3
13+
with:
14+
token: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
15+
command: manifest
16+
default-branch: main

.release-please-manifest.json

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

release-please-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"bump-minor-pre-major": true,
3+
"bump-patch-for-minor-pre-major": true,
4+
"draft-pull-request": true,
5+
"prerelease": true,
6+
"include-component-in-tag": false,
7+
"include-v-in-tag": true,
8+
"pull-request-title-pattern": "chore: release ${version}",
9+
"changelog-path": "CHANGELOG.md",
10+
"packages": {
11+
".": {
12+
"release-type": "php"
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)