Skip to content

Commit 18782b4

Browse files
feat: add release-please workflow for automated releases
- Add release-please configuration for monorepo (SDK + DApp) - Configure separate version tracking for both packages - Set up automated release workflow using iExec reusable workflow - Enable independent releases for SDK and DApp based on conventional commits
1 parent 830115d commit 18782b4

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
issues: write
9+
pull-requests: write
10+
11+
name: release-please
12+
13+
jobs:
14+
release-please:
15+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]
16+
secrets: inherit
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"packages": {
3+
".": {
4+
"version": "0.0.3-alpha"
5+
},
6+
"dapp": {
7+
"version": "0.0.2-alpha"
8+
}
9+
}
10+
}

β€Žrelease-please-config.jsonβ€Ž

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$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+
],
21+
"packages": {
22+
".": {
23+
"release-type": "node",
24+
"changelog-path": "CHANGELOG.md"
25+
},
26+
"dapp": {
27+
"release-type": "node",
28+
"changelog-path": "dapp/CHANGELOG.md"
29+
}
30+
}
31+
}

0 commit comments

Comments
Β (0)