Skip to content

Commit 2b0b663

Browse files
authored
ci(release): add release-please action (#4)
1 parent ac948c9 commit 2b0b663

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"bump-minor-pre-major": true,
4+
"bump-patch-for-minor-pre-major": true,
5+
"release-search-depth": 3,
6+
"commit-search-depth": 50,
7+
"packages": {
8+
".": {
9+
"release-type": "simple",
10+
"package-name": "vim-symlink",
11+
"include-component-in-tag": false
12+
}
13+
}
14+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.0"
3+
}

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
on:
3+
workflow_run:
4+
workflows:
5+
- Test
6+
types:
7+
- completed
8+
branches:
9+
- main
10+
jobs:
11+
release-pr:
12+
runs-on: ubuntu-24.04
13+
permissions:
14+
contents: write
15+
issues: write
16+
pull-requests: write
17+
steps:
18+
- uses: googleapis/release-please-action@v4
19+
with:
20+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
21+
config-file: .github/.release-please/config.json
22+
manifest-file: .github/.release-please/manifest.json

0 commit comments

Comments
 (0)