-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.json
51 lines (51 loc) · 1.47 KB
/
.releaserc.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"branches": [
"main",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yarn version --new-version ${nextRelease.version} --no-git-tag-version --allow-same-version"
}
],
[
"@semantic-release/github",
{
"githubUrl": "https://api.github.com",
"prepend": [
"This release is also available on:",
"| Release | Status |",
"| --- | --- |",
"| [Expo](https://exp.host/@diogoabu/how-much?release-channel=${nextRelease.channel || 'main'}) | ![Publish on Expo](https://github.com/DiogoAbu/how-much/workflows/Publish%20on%20Expo/badge.svg?branch=v${nextRelease.version}&event=release) |",
"",
"[![Expo QR](https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=exp://exp.host/@diogoabu/how-much?release-channel=${nextRelease.channel || 'main'})](https://exp.host/@diogoabu/how-much?release-channel=${nextRelease.channel || 'main'})",
"---"
]
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
"assets": ["package.json"]
}
]
]
}