Skip to content

Commit 0dcab3c

Browse files
authored
ci: upgrade release-please to v4 and add cargo-workspace plugin (#113)
Signed-off-by: Eren Atas <eren.atas@booking.com>
1 parent c1ea70f commit 0dcab3c

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ jobs:
1616
pull-requests: write # for googleapis/release-please-action to create release PR
1717
# Release-please creates a PR that tracks all changes
1818
steps:
19-
- uses: googleapis/release-please-action@v3
19+
- uses: googleapis/release-please-action@v4
2020
id: release
2121
with:
22-
command: manifest
2322
token: ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
24-
default-branch: main
25-
signoff: "OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>"
2623
- name: Dump Release Please Output
2724
env:
2825
RELEASE_PLEASE_OUTPUT: ${{ toJson(steps.release.outputs) }}

release-please-config.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
{
22
"separate-pull-requests": true,
33
"release-type": "rust",
4+
"signoff": "OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>",
45
"bump-minor-pre-major": true,
56
"bump-patch-for-minor-pre-major": true,
7+
"plugins": [
8+
{
9+
"type": "cargo-workspace",
10+
"merge": false
11+
},
12+
{
13+
"type": "linked-versions",
14+
"groupName": "flagd",
15+
"components": ["open-feature-flagd", "flagd-evaluation-engine", "open-feature-ofrep"]
16+
}
17+
],
618
"packages": {
719
"crates/env-var": {},
8-
"crates/flagd": {
9-
"package-group": "flagd-group"
10-
},
11-
"crates/flagd-evaluation-engine": {
12-
"package-group": "flagd-group"
13-
},
20+
"crates/flagd": {},
21+
"crates/flagd-evaluation-engine": {},
1422
"crates/flipt": {},
15-
"crates/ofrep": {
16-
"package-group": "flagd-group"
17-
}
23+
"crates/ofrep": {}
1824
},
1925
"changelog-sections": [
2026
{

0 commit comments

Comments
 (0)