forked from snyk/broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc
64 lines (64 loc) · 2.07 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
64
{
"prepare": [
"@semantic-release/npm",
{
"//": "build the linux, macos, and windows binaries",
"path": "@semantic-release/exec",
"cmd": "npm run prepare && rm ./dist/client-templates/github && npx --yes pkg . --compress Brotli -t node18-linux-x64,node18-macos-x64,node18-win-x64"
},
{
"//": "shasum linux binaries",
"path": "@semantic-release/exec",
"cmd": "cat binary-releases/snyk-broker-linux | npx hasha-cli -a sha256 > binary-releases/snyk-broker-linux.sha256"
},
{
"//": "shasum macos binaries",
"path": "@semantic-release/exec",
"cmd": "cat binary-releases/snyk-broker-macos | npx hasha-cli -a sha256 > binary-releases/snyk-broker-macos.sha256"
},
{
"//": "shasum windows binaries",
"path": "@semantic-release/exec",
"cmd": "cat binary-releases/snyk-broker-win.exe | npx hasha-cli -a sha256 > binary-releases/snyk-broker-win.exe.sha256"
}
],
"publish": [
"@semantic-release/npm",
{
"path": "@semantic-release/github",
"assets": [
{
"path": "binary-releases/snyk-broker-linux",
"name": "snyk-broker-linux",
"label": "snyk-broker-linux"
},
{
"path": "binary-releases/snyk-broker-linux.sha256",
"name": "snyk-broker-linux.sha256",
"label": "snyk-broker-linux.sha256"
},
{
"path": "binary-releases/snyk-broker-macos",
"name": "snyk-broker-macos",
"label": "snyk-broker-macos"
},
{
"path": "binary-releases/snyk-broker-macos.sha256",
"name": "snyk-broker-macos.sha256",
"label": "snyk-broker-macos.sha256"
},
{
"path": "binary-releases/snyk-broker-win.exe",
"name": "snyk-broker-win.exe",
"label": "snyk-broker-win.exe"
},
{
"path": "binary-releases/snyk-broker-win.exe.sha256",
"name": "snyk-broker-win.exe.sha256",
"label": "snyk-broker-win.exe.sha256"
}
]
}
],
"branches": ["master"]
}