-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc
52 lines (52 loc) · 1.37 KB
/
.releaserc
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
52
{
"repositoryUrl": "https://github.com/GravityTwoG/cloud-saves.git",
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "npm run test run",
"prepareCmd": "npm run package -- --platform win32 && npm run make -- --platform win32 && powershell -ExecutionPolicy unrestricted -Command \"Compress-Archive -Path 'out/Cloud-Saves-win32-x64' -Destination out/package.zip\""
}
],
[
"@semantic-release/github",
{
"labels": true,
"releasedLabels": true,
"assets": [
{
"path": "out/package.zip",
"name": "Cloud-Saves-${nextRelease.version}-x64.zip",
"label": "Windows 64-bit package"
},
{
"path": "out/make/squirrel.windows/x64/*.exe",
"name": "Cloud-Saves-${nextRelease.version}-x64-setup.exe",
"label": "Windows 64-bit installer"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
],
"dryRun": false
}