-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
63 lines (63 loc) · 1.71 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
53
54
55
56
57
58
59
60
61
62
63
{
"prepare": [
"@semantic-release/npm",
{
"//": "build the alpine, macos, linux and windows binaries",
"path": "@semantic-release/exec",
"cmd": "npm i -g pkg && pkg . -t node8-alpine-x64,node8-linux-x64,node8-macos-x64,node8-win-x64"
},
{
"//": "shasum all binaries",
"path": "@semantic-release/exec",
"cmd": "shasum -a 256 snyk-linux > snyk-linux.sha256 && shasum -a 256 snyk-macos > snyk-macos.sha256 && shasum -a 256 snyk-win.exe > snyk-win.exe.sha256 && shasum -a 256 snyk-alpine > snyk-alpine.sha256"
}
],
"publish": [
"@semantic-release/npm",
{
"path": "@semantic-release/github",
"assets": [
{
"path": "./snyk-linux",
"name": "snyk-linux",
"label": "snyk-linux"
},
{
"path": "./snyk-linux.sha256",
"name": "snyk-linux.sha256",
"label": "snyk-linux.sha256"
},
{
"path": "./snyk-macos",
"name": "snyk-macos",
"label": "snyk-macos"
},
{
"path": "./snyk-macos.sha256",
"name": "snyk-macos.sha256",
"label": "snyk-macos.sha256"
},
{
"path": "./snyk-win.exe",
"name": "snyk-win.exe",
"label": "snyk-win.exe"
},
{
"path": "./snyk-win.exe.sha256",
"name": "snyk-win.exe.sha256",
"label": "snyk-win.exe.sha256"
},
{
"path": "./snyk-alpine",
"name": "snyk-alpine",
"label": "snyk-alpine"
},
{
"path": "./snyk-alpine.sha256",
"name": "snyk-alpine.sha256",
"label": "snyk-alpine.sha256"
}
]
}
]
}