-
Notifications
You must be signed in to change notification settings - Fork 0
/
.release-it.yml
37 lines (37 loc) · 936 Bytes
/
.release-it.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
hooks:
after:release:
- echo Successfully released ${name} v${version} to ${repo.repository}.
git:
changelog: git log --pretty=format:"* %s (%h)" ${latestTag}...HEAD
requireBranch: main
requireCleanWorkingDir: true
requireUpstream: false
commit: true
commitMessage: "Release v${version} [skip ci]"
tag: true
push: true
pushRepo: origin
github:
release: true
releaseName: Release v${version}
tokenRef: GITHUB_TOKEN
plugins:
"@release-it/conventional-changelog":
infile: CHANGELOG.md
preset:
name: conventionalcommits
types:
- type: build
section: Build Changes
- type: ci
section: CI Changes
- type: docs
section: Doc Updates
- type: feat
section: Features
- type: fix
section: Fixes
- type: refactor
section: Refactors
- type: test
section: Test Case Changes