Skip to content

Commit 6d40e33

Browse files
ci: configure release-please
1 parent 8383c5c commit 6d40e33

File tree

5 files changed

+64
-1
lines changed

5 files changed

+64
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: release-please
2+
description: triggers release-please to open the next release PR
3+
4+
on:
5+
push:
6+
branches:
7+
- ci/gha # TODO: main
8+
9+
permissions:
10+
contents: write
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
release-please:
16+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]
17+
secrets: inherit

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "api": "0.0.1", "cli": "1.0.0-beta.1" }

api/.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# generated files
2+
CHANGELOG.md

cli/.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# contains feature tag comments illegal in plain JSON
22
templates/JavaScript/package.json
3-
dist
3+
4+
# generated files
5+
dist
6+
CHANGELOG.md

release-please-config.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"include-component-in-tag": true,
4+
"changelog-sections": [
5+
{ "type": "feat", "section": "Added", "hidden": false },
6+
7+
{ "type": "fix", "section": "Changed", "hidden": false },
8+
{ "type": "change", "section": "Changed", "hidden": false },
9+
{ "type": "deprecate", "section": "Changed", "hidden": false },
10+
{ "type": "revert", "section": "Changed", "hidden": false },
11+
{ "type": "security", "section": "Changed", "hidden": false },
12+
{ "type": "perf", "section": "Changed", "hidden": false },
13+
{ "type": "refactor", "section": "Changed", "hidden": false },
14+
15+
{ "type": "remove", "section": "Removed", "hidden": false },
16+
17+
{ "type": "style", "section": "Misc", "hidden": true },
18+
{ "type": "build", "section": "Misc", "hidden": true },
19+
{ "type": "chore", "section": "Misc", "hidden": true },
20+
{ "type": "test", "section": "Misc", "hidden": true },
21+
{ "type": "deps", "section": "Misc", "hidden": true },
22+
{ "type": "ci", "section": "Misc", "hidden": true },
23+
{ "type": "docs", "section": "Misc", "hidden": true }
24+
],
25+
"packages": {
26+
"cli": {
27+
"release-type": "node",
28+
"changelog-path": "cli/CHANGELOG.md",
29+
"include-v-in-tag": true,
30+
"prerelease": true,
31+
"versioning": "prerelease",
32+
"prerelease-type": "beta"
33+
},
34+
"api": {
35+
"release-type": "node",
36+
"changelog-path": "api/CHANGELOG.md",
37+
"include-v-in-tag": true
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)