-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.releaserc.yml
54 lines (54 loc) · 1.53 KB
/
.releaserc.yml
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
branches:
- main
- name: rc
prerelease: true
- name: beta
prerelease: true
- name: alpha
prerelease: true
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
releaseRules:
- type: chg
release: minor
- type: rm
release: minor
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
presetConfig:
types:
- type: feat
section: Added
- type: chg
section: Changed
- type: rm
section: Removed
- type: fix
section: Fixed
- type: depr
section: Deprecated
- type: sec
section: Security
# 需要保证CHANGELOG在编译文档之前生成
- "@semantic-release/changelog"
- - "@semantic-release/exec"
- prepareCmd: "./ci/prepare-release.sh ${nextRelease.version}"
- - "@semantic-release/git"
- assets:
- "*.dtx"
- CHANGELOG.md
- - "@semantic-release/github"
- assets:
- label: SwufeThesis
path: swufethesis.zip
name: swufethesis-${nextRelease.gitTag}.zip
- label: TDS安装包
path: swufethesis.tds.zip
name: swufethesis-${nextRelease.gitTag}.tds.zip
- label: 免安装版本
path: swufethesis-portable.zip
name: swufethesis-portable-${nextRelease.gitTag}.zip
- label: 示例文件
path: swufethesis-demo.zip
name: swufethesis-demo-${nextRelease.gitTag}.zip