-
Notifications
You must be signed in to change notification settings - Fork 4
/
.releaserc.yml
38 lines (36 loc) · 1.16 KB
/
.releaserc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
branches:
- name: "release/*"
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- [ '@semantic-release/exec', {
prepareCmd: 'sed -i.bak "s/edge-agent-sdk:${lastRelease.version}/edge-agent-sdk:${nextRelease.version}/g" ./tests/end-to-end/build.gradle.kts && rm -f ./tests/end-to-end/build.gradle.kts.bak' } ]
- ["@semantic-release/changelog", {changelogFile: "CHANGELOG.md"}]
- "gradle-semantic-release-plugin"
- [
"@semantic-release/git",
{
assets: [
"CHANGELOG.md",
"gradle.properties",
"tests/end-to-end/build.gradle.kts"
],
message: "chore(release): cut wallet sdk version ${nextRelease.version}
${nextRelease.notes}",
},
]
- [
"semantic-release-slack-bot",
{
notifyOnSuccess: true,
notifyOnFail: true,
markdownReleaseNotes: true,
onSuccessTemplate:
{text: "A new version of `$package_name` successfully released!\n
Version: `v$npm_package_version`\n
Tag: $repo_url/releases/tag/v$npm_package_version\n
\n
Release notes:\n
$release_notes"},
},
]