Skip to content

Commit 081e1ab

Browse files
chore: initial release please setup (#4028)
1 parent bac636b commit 081e1ab

File tree

7 files changed

+123
-0
lines changed

7 files changed

+123
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
".": "1.46.1",
3+
"module/evaluation": "0.0.0",
4+
"module/core": "0.0.0",
5+
"openfeature/providers/python-provider": "0.4.4",
6+
"openfeature/providers/kotlin-provider": "0.3.0"
7+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"bootstrap-sha": "bac636bf553bb3ee8fd44470fbd21d164ecc39e4",
3+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
4+
"monorepo-tags": true,
5+
"separate-pull-requests": true,
6+
"include-v-in-tag": true,
7+
"tag-separator": "/",
8+
"commit-search-depth": 400,
9+
"changelog-sections": [
10+
{
11+
"type": "fix",
12+
"section": "🐛 Bug Fixes"
13+
},
14+
{
15+
"type": "feat",
16+
"section": "🚀 New Features"
17+
},
18+
{
19+
"type": "chore",
20+
"section": "🔧 Chores"
21+
},
22+
{
23+
"type": "docs",
24+
"section": "📚 Documentation"
25+
}
26+
],
27+
"packages": {
28+
".": {
29+
"release-type": "go",
30+
"include-component-in-tag": false,
31+
"changelog-path": ".github/release-please/CHANGELOG.md",
32+
"path": ".",
33+
"exclude-paths": [
34+
"modules/evaluation",
35+
"modules/core",
36+
"openfeature/providers/kotlin-provider",
37+
"openfeature/providers/python-provider",
38+
".github/release-please"
39+
]
40+
},
41+
"modules/evaluation": {
42+
"release-type": "go",
43+
"path": "modules/evaluation",
44+
"include-component-in-tag": true,
45+
"component": "modules/evaluation",
46+
"changelog-path": "CHANGELOG.md"
47+
},
48+
"modules/core": {
49+
"release-type": "go",
50+
"path": "modules/core",
51+
"include-component-in-tag": true,
52+
"component": "modules/core",
53+
"changelog-path": "CHANGELOG.md"
54+
},
55+
"openfeature/providers/kotlin-provider": {
56+
"release-type": "java",
57+
"path": "openfeature/providers/kotlin-provider",
58+
"include-component-in-tag": true,
59+
"component": "openfeature/providers/kotlin-provider",
60+
"changelog-path": "CHANGELOG.md",
61+
"skip-snapshot": true,
62+
"extra-files": [
63+
"gradle.properties",
64+
"build.gradle.kts",
65+
"README.md"
66+
]
67+
},
68+
"openfeature/providers/python-provider": {
69+
"release-type": "python",
70+
"path": "openfeature/providers/python-provider",
71+
"include-component-in-tag": true,
72+
"component": "openfeature/providers/python-provider",
73+
"changelog-path": "CHANGELOG.md",
74+
"extra-files": [
75+
"pyproject.toml",
76+
"README.md"
77+
]
78+
}
79+
}
80+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release-please:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: googleapis/release-please-action@c2a5a2bd6a758a0937f1ddb1e8950609867ed15c # v4.3.0
16+
with:
17+
# See: https://github.com/googleapis/release-please
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
config-file: .github/release-please/release-please-config.json
20+
manifest-file: .github/release-please/.release-please-manifest.json

modules/core/core.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package core
2+
3+
func Core() {
4+
panic("not implemented")
5+
}

modules/core/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/thomaspoignant/go-feature-flag/modules/core
2+
3+
go 1.24.6

modules/evaluation/evaluation.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package evaluation
2+
3+
func Evaluation() {
4+
panic("not implemented")
5+
}

modules/evaluation/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/thomaspoignant/go-feature-flag/modules/evaluation
2+
3+
go 1.24.6

0 commit comments

Comments
 (0)