Skip to content

Commit 79b3635

Browse files
committed
fix: correct cargo-release configuration format
- Fix release.toml configuration to use correct cargo-release format - Remove invalid 'workspace' section - Add proper git, publishing, and release settings - Configure tag naming and version bumping
1 parent 5afbc8e commit 79b3635

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

release.toml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
1-
[workspace]
2-
# Process all packages in the workspace
3-
# We have vtcode and vtcode-core
1+
# Cargo-release configuration for VTCode
2+
# See: https://github.com/crate-ci/cargo-release
43

5-
[package.vtcode]
6-
# Main package configuration
7-
publish = true
8-
9-
[package.vtcode-core]
10-
# Core library configuration
11-
publish = true
12-
13-
[git]
144
# Git configuration
15-
commit = true
16-
tag = true
175
push = true
6+
push-remote = "origin"
7+
sign-commit = false
8+
sign-tag = false
189

19-
[hooks]
20-
# Pre-release hooks
21-
pre-release = []
22-
23-
# Post-release hooks
24-
post-release = []
25-
26-
[publish]
2710
# Publishing configuration
2811
registry = "crates.io"
2912
verify = true
3013

31-
[release]
32-
# General release settings
14+
# Release settings
3315
shared-version = true
3416
consolidate-commits = true
3517
allow-branch = ["main"]
18+
19+
# Tag configuration
20+
tag = true
21+
tag-name = "v{{version}}"
22+
tag-prefix = ""
23+
tag-message = "Release {{crate_name}} v{{version}}"
24+
25+
# Pre-release hooks (if needed)
26+
pre-release-hook = []
27+
28+
# Features (if needed)
29+
enable-features = []
30+
enable-all-features = false
31+
32+
# Version bumping
33+
dependent-version = "upgrade"

0 commit comments

Comments
 (0)