-
Notifications
You must be signed in to change notification settings - Fork 0
/
rolling-package.toml
55 lines (42 loc) · 1.08 KB
/
rolling-package.toml
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
name = "client"
dependencies = []
base_version = [1, 0, 0, 0]
tag_format = "client@{{MAJOR}}.{{MINOR}}.{{PATCH}}{{?-{{HOTFIX}}}}"
version_schema = ["MAJOR", "MINOR", "PATCH", "HOTFIX"]
# Versioning mode differs between hotfix branches and
# the main branch
[[versioning_mode]]
branch = "main"
mode = "ALWAYS_INCREASING"
[[versioning_mode]]
branch = "hotfix/*"
mode = "BY_BRANCH"
# We add a custom "hotfix" change type
[[change_types]]
id = "breaking"
bumps = "MAJOR"
plural = "Breaking Changes"
[[change_types]]
id = "feat"
bumps = "MINOR"
plural = "New Features"
[[change_types]]
id = "refactor"
bumps = "MINOR"
plural = "Refactors"
[[change_types]]
id = "fix"
bumps = "PATCH"
plural = "Bug Fixes"
[[change_types]]
id = "perf"
bumps = "PATCH"
plural = "Performance Improvements"
[[change_types]]
id = "hotfix"
bumps = "HOTFIX"
plural = "Hotfixes"
[scripts]
prepublish = "echo prepublish $NEW_VERSION"
publish_dry_run = "echo dryrun $NEW_VERSION"
publish = "echo publish $NEW_VERSION"