Skip to content

Commit fabec93

Browse files
committed
Add basic release please configiguration
1 parent 11acfd1 commit fabec93

File tree

5 files changed

+115
-2
lines changed

5 files changed

+115
-2
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Update release PR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}

.release-please-manifest.json

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

CHANGELOG.md

Whitespace-only changes.

lib/flagsmith/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release-please-config.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"bootstrap-sha": "644c5c883ecbb3786507b50cea01903dc2e533bf",
3+
"packages": {
4+
".": {
5+
"release-type": "simple",
6+
"changelog-path": "CHANGELOG.md",
7+
"bump-minor-pre-major": false,
8+
"bump-patch-for-minor-pre-major": false,
9+
"draft": false,
10+
"prerelease": false,
11+
"include-component-in-tag": false,
12+
"extra-files": [
13+
{
14+
"type": "json",
15+
"path": "lib/flagsmith/package.json",
16+
"jsonpath": "$.version"
17+
},
18+
{
19+
"type": "json",
20+
"path": "lib/flagsmith/package-lock.json",
21+
"jsonpath": "$.version"
22+
},
23+
{
24+
"type": "json",
25+
"path": "lib/flagsmith/package-lock.json",
26+
"jsonpath": "$.packages..version"
27+
},
28+
{
29+
"type": "json",
30+
"path": "lib/react-native-flagsmith/package.json",
31+
"jsonpath": "$.version"
32+
},
33+
{
34+
"type": "json",
35+
"path": "lib/react-native-flagsmith/package-lock.json",
36+
"jsonpath": "$.version"
37+
},
38+
{
39+
"type": "json",
40+
"path": "lib/react-native-flagsmith/package-lock.json",
41+
"jsonpath": "$.packages..version"
42+
}
43+
]
44+
}
45+
},
46+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
47+
"changelog-sections": [
48+
{
49+
"type": "feat",
50+
"hidden": false,
51+
"section": "Features"
52+
},
53+
{
54+
"type": "fix",
55+
"hidden": false,
56+
"section": "Bug Fixes"
57+
},
58+
{
59+
"type": "ci",
60+
"hidden": false,
61+
"section": "CI"
62+
},
63+
{
64+
"type": "docs",
65+
"hidden": false,
66+
"section": "Docs"
67+
},
68+
{
69+
"type": "deps",
70+
"hidden": false,
71+
"section": "Dependency Updates"
72+
},
73+
{
74+
"type": "perf",
75+
"hidden": false,
76+
"section": "Performance Improvements"
77+
},
78+
{
79+
"type": "refactor",
80+
"hidden": false,
81+
"section": "Refactoring"
82+
},
83+
{
84+
"type": "test",
85+
"hidden": false,
86+
"section": "Tests"
87+
},
88+
{
89+
"type": "chore",
90+
"hidden": false,
91+
"section": "Other"
92+
}
93+
]
94+
}

0 commit comments

Comments
 (0)