-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.releaserc.json
More file actions
37 lines (37 loc) · 860 Bytes
/
Copy path.releaserc.json
File metadata and controls
37 lines (37 loc) · 860 Bytes
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
{
"branches": [
"main",
{"name": "beta", "prerelease": true}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "make rock-artifacts VERSION=${nextRelease.version}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "cerulean-*-1.rockspec",
"label": "cerulean rockspec"
},
{
"path": "cerulean-*.tar.gz",
"label": "cerulean source tarball"
}
]
}
],
[
"@semantic-release/exec",
{
"publishCmd": "echo '${nextRelease.version}' | grep -qv '\\-' && luarocks upload cerulean-${nextRelease.version}-1.rockspec --api-key=$LUAROCKS_API_KEY"
}
]
]
}