Skip to content

Commit 3b241c6

Browse files
committed
ci: fix release please config
1 parent ea39dea commit 3b241c6

File tree

2 files changed

+37
-42
lines changed

2 files changed

+37
-42
lines changed

.github/workflows/contracts.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020
with:
21-
# Adjust fetch-depth as needed
2221
fetch-depth: 0
2322

2423
- name: Detect package changes
@@ -34,7 +33,6 @@ jobs:
3433
- 'packages/subgraph/**'
3534
dapp:
3635
- 'packages/protected-data-delivery-dapp/**'
37-
# Enable matrix output for use in subsequent jobs
3836
matrix: true
3937

4038
build-and-test:
@@ -44,8 +42,6 @@ jobs:
4442
strategy:
4543
matrix:
4644
package: [ sdk, smart_contract, subgraph, dapp ]
47-
# Run this job only if changes were detected in the respective package
48-
if: ${{ fromJson(needs.detect-changes.outputs[matrix.package]).any_changed == 'true' }}
4945
steps:
5046
- name: Checkout code
5147
uses: actions/checkout@v4

release-please-config.json

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"changelog-sections": [
4+
{ "type": "feat", "section": "🚀 Features", "hidden": false },
5+
{ "type": "change", "section": "🚀 Features", "hidden": false },
6+
{ "type": "deprecate", "section": "⚠️ Changes", "hidden": false },
7+
{ "type": "remove", "section": "⚠️ Changes", "hidden": false },
8+
{ "type": "fix", "section": "🐞 Bug Fixes", "hidden": false },
9+
{ "type": "revert", "section": "🐞 Bug Fixes", "hidden": false },
10+
{ "type": "security", "section": "🐞 Bug Fixes", "hidden": false },
11+
{ "type": "perf", "section": "✨ Polish", "hidden": false },
12+
{ "type": "refactor", "section": "✨ Polish", "hidden": false },
13+
{ "type": "style", "section": "✨ Polish", "hidden": false },
14+
{ "type": "build", "section": "🧰 Other", "hidden": false },
15+
{ "type": "chore", "section": "🧰 Other", "hidden": false },
16+
{ "type": "deps", "section": "🧰 Other", "hidden": true },
17+
{ "type": "ci", "section": "🧰 Other", "hidden": true },
18+
{ "type": "test", "section": "🧪 Tests", "hidden": false },
19+
{ "type": "docs", "section": "📚 Documentation", "hidden": true }
20+
],
321
"packages": {
4-
"src/cli": {
22+
"packages/sdk": {
523
"release-type": "node",
624
"changelog-path": "CHANGELOG.md",
7-
"changelog-sections": [
8-
{"type":"feat","section":"🚀 Features","hidden":false},
9-
{"type":"change","section":"🚀 Features","hidden":false},
10-
{"type":"deprecate","section":"⚠️ Changes","hidden":false},
11-
{"type":"remove","section":"⚠️ Changes","hidden":false},
12-
{"type":"fix","section":"🐞 Bug Fixes","hidden":false},
13-
{"type":"revert","section":"🐞 Bug Fixes","hidden":false},
14-
{"type":"security","section":"🐞 Bug Fixes","hidden":false},
15-
{"type":"perf","section":"✨ Polish","hidden":false},
16-
{"type":"refactor","section":"✨ Polish","hidden":false},
17-
{"type":"style","section":"✨ Polish","hidden":false},
18-
{"type":"build","section":"🧰 Other","hidden":false},
19-
{"type":"chore","section":"🧰 Other","hidden":false},
20-
{"type":"deps","section":"🧰 Other","hidden":true},
21-
{"type":"ci","section":"🧰 Other","hidden":true},
22-
{"type":"test","section":"🧪 Tests","hidden":false},
23-
{"type":"docs","section":"📚 Documentation","hidden":true}
24-
]
25+
"initial-version": "2.0.0-beta.12"
2526
},
26-
"src/lib": {
27+
"packages/dataprotector-deserializer": {
2728
"release-type": "node",
2829
"changelog-path": "CHANGELOG.md",
29-
"changelog-sections": [
30-
{"type":"feat","section":"🚀 Features","hidden":false},
31-
{"type":"change","section":"🚀 Features","hidden":false},
32-
{"type":"deprecate","section":"⚠️ Changes","hidden":false},
33-
{"type":"remove","section":"⚠️ Changes","hidden":false},
34-
{"type":"fix","section":"🐞 Bug Fixes","hidden":false},
35-
{"type":"revert","section":"🐞 Bug Fixes","hidden":false},
36-
{"type":"security","section":"🐞 Bug Fixes","hidden":false},
37-
{"type":"perf","section":"✨ Polish","hidden":false},
38-
{"type":"refactor","section":"✨ Polish","hidden":false},
39-
{"type":"style","section":"✨ Polish","hidden":false},
40-
{"type":"build","section":"🧰 Other","hidden":false},
41-
{"type":"chore","section":"🧰 Other","hidden":false},
42-
{"type":"deps","section":"🧰 Other","hidden":true},
43-
{"type":"ci","section":"🧰 Other","hidden":true},
44-
{"type":"test","section":"🧪 Tests","hidden":false},
45-
{"type":"docs","section":"📚 Documentation","hidden":true}
46-
]
30+
"initial-version": "0.11.1"
31+
},
32+
"packages/sharing-smart-contract": {
33+
"release-type": "node",
34+
"changelog-path": "CHANGELOG.md",
35+
"initial-version": "v2.0.0"
36+
},
37+
"packages/subgraph": {
38+
"release-type": "node",
39+
"changelog-path": "CHANGELOG.md",
40+
"initial-version": "3.0.0"
41+
},
42+
"protected-data-delivery-dapp": {
43+
"release-type": "node",
44+
"changelog-path": "CHANGELOG.md",
45+
"initial-version": "1.0.0"
4746
}
4847
}
4948
}

0 commit comments

Comments
 (0)