generated from denorg/starter
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.releaserc.json
28 lines (28 loc) · 1.16 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
{
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i \"s/scrypt@[[:digit:]]\\+\\.[[:digit:]]\\+\\.[[:digit:]]\\+/scrypt@${nextRelease.version}/g\" README.md; sed -i \"s/\\\"version\\\": \\\"[[:digit:]]\\+\\.[[:digit:]]\\+\\.[[:digit:]]\\\"/\\\"version\\\": \\\"${nextRelease.version}\\\"/\" deno.jsonc; sed -i \"s/[[:digit:]]\\+\\.[[:digit:]]\\+\\.[[:digit:]]/${nextRelease.version}/\" egg.json; sed -i \"s/scrypt@v[[:digit:]]\\+\\.[[:digit:]]\\+\\.[[:digit:]]/scrypt@v${nextRelease.version}/\" lib/scrypt_bench.ts; sed -i \"s/@version [[:digit:]]\\+\\.[[:digit:]]\\+\\.[[:digit:]]/@version ${nextRelease.version}/\" mod.ts"
}
],
[
"@semantic-release/git",
{
"assets": [
"README.md",
"egg.json",
"deno.jsonc",
"lib/_wasm/scrypt_wasm.generated.js",
"lib/scrypt_bench.ts",
"mod.ts"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/release-notes-generator"
]
}