-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.toml
More file actions
28 lines (28 loc) · 830 Bytes
/
release.toml
File metadata and controls
28 lines (28 loc) · 830 Bytes
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
allow-branch = ["main", "!HEAD"]
consolidate-commits = false
dependent-version = "upgrade"
enable-all-features = true
enable-features = []
metadata = "optional"
owners = []
pre-release-commit-message = "Release {{crate_name}} version {{version}}"
pre-release-hook = ['/bin/sh', '-c', '''
if [ "$CARGO_MAKE_TASK" != "publish" ]; then
echo "***ERROR*** Must be released with help of 'cargo make publish' in project workspace dir." 1>&2
exit 1
fi
''']
pre-release-replacements = [
{ file = ".env", search = "APP_VERSION\\s*=\\s*.*", replace = "APP_VERSION={{version}}", prerelease = true },
]
publish = true
push = true
push-options = []
push-remote = "origin"
release = true
sign-commit = true
sign-tag = true
tag = true
tag-message = "Release {{crate_name}} version {{version}}"
tag-name = "v{{version}}"
verify = true