-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.releaserc.yaml
55 lines (55 loc) · 1.64 KB
/
.releaserc.yaml
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
branches: ["release"]
plugins:
- - "@semantic-release/commit-analyzer"
- preset: angular
releaseRules:
- type: refactor
release: patch
- type: chore
release: patch
# Override default rules for pre-1.0
- breaking: true
release: minor
- type: feat
release: patch
parserOpts:
noteKeywords:
- BREAKING CHANGE
- BREAKING CHANGES
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
presetConfig:
types:
- type: feat
section: Features
- type: fix
section: Bug fixes
- type: chore
section: Other updates
- - "semantic-release-replace-plugin"
- replacements:
- files: ["Cargo.toml", "Cargo.lock"]
from: "name = \"senc\"\nversion = \".*\""
to: "name = \"senc\"\nversion = \"${nextRelease.version}\""
countMatches: true
results:
- file: "Cargo.toml"
hasChanged: true
numMatches: 1
numReplacements: 1
- file: "Cargo.lock"
hasChanged: true
numMatches: 1
numReplacements: 1
- - "@semantic-release/npm"
- npmPublish: true
pkgRoot: "./packages/types"
- - "@semantic-release/git"
- assets:
- "Cargo.toml"
- "Cargo.lock"
- "./packages/types/package.json"
- "./packages/types/npm-shrinkwrap.json"
message: "release: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- - "@semantic-release/github"
- assets: ["/tmp/artifact/*"]