-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrelease.toml
More file actions
39 lines (27 loc) · 1013 Bytes
/
release.toml
File metadata and controls
39 lines (27 loc) · 1013 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
29
30
31
32
33
34
35
36
37
38
39
# cargo-release configuration
# Usage: cargo release patch|minor|major
# Don't publish to crates.io (private project)
publish = false
# Push to remote after release
push = true
# Create git tag
tag = true
# Tag prefix (creates tags like v0.1.0)
tag-name = "v{{version}}"
# Commit message format
tag-message = "Release {{version}}"
# Sign tags (disable if you don't have GPG set up)
sign-tag = false
# Sign commits (disable if you don't have GPG set up)
sign-commit = false
# Pre-release hook: run tests before releasing
pre-release-hook = ["cargo", "test", "--workspace", "--lib"]
# Consolidate commits: single commit for all version bumps in workspace
consolidate-commits = true
# Commit message for version bump
pre-release-commit-message = "chore: bump version to {{version}}"
# Allow releasing from main branch only
allow-branch = ["main"]
# Packages to release (skip internal/dev packages if any)
# Uncomment and modify if you want to exclude certain packages
# exclude = ["some-internal-crate"]