Skip to content

Commit 5c113fd

Browse files
NoopDogmvdbeek
authored andcommitted
feat: automate releases with release-please (galaxyproject#140) (galaxyproject#168)
1 parent cc48a56 commit 5c113fd

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
workflow_dispatch: # Enable manual triggering
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
name: release-please
12+
13+
jobs:
14+
release-please:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: googleapis/release-please-action@v4
18+
id: release
19+
with:
20+
config-file: release-please-config.json
21+
token: ${{ secrets.GITHUB_TOKEN }}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.1.0"
3+
}

release-please-config.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"monorepo-tags": false,
3+
"packages": {
4+
".": {
5+
"release-type": "node",
6+
"component": "",
7+
"include-component-in-tag": false
8+
}
9+
},
10+
"changelog-sections": [
11+
{ "type": "feat", "section": "Features" },
12+
{ "type": "fix", "section": "Bug Fixes" },
13+
{ "type": "chore", "section": "Chores" },
14+
{ "type": "content", "section": "Content" },
15+
{ "type": "docs", "section": "Documentation" },
16+
{ "type": "style", "section": "Styles" },
17+
{ "type": "refactor", "section": "Code Refactoring" },
18+
{ "type": "perf", "section": "Performance Improvements" },
19+
{ "type": "test", "section": "Tests" },
20+
{ "type": "build", "section": "Build System" },
21+
{ "type": "ci", "section": "Continuous Integration" }
22+
]
23+
}

0 commit comments

Comments
 (0)