Skip to content

Commit 1dcb1c4

Browse files
committed
fix cargo release setup so we include generation in tag commit
Signed-off-by: clux <[email protected]>
1 parent 6b743ce commit 1dcb1c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

release.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
#
33
# Versions are bumped in both Cargo.toml and Chart.yaml simultaneously through cargo-release
44
#
5-
# 1. cargo release patch --execute
6-
# 2. just generate
7-
# 3. git add yaml && git commit --amend --signoff
5+
# cargo release patch --execute
86

97
# Reference
108
# https://github.com/crate-ci/cargo-release/blob/master/docs/reference.md
119

1210
pre-release-replacements = [
1311
{file="charts/doc-controller/Chart.yaml", search="appVersion: .*", replace="appVersion: {{version}}"},
1412
]
13+
pre-release-hook = ["just", "generate"]
1514
pre-release-commit-message = "release {{version}}"
1615
push = false
1716
tag = true

0 commit comments

Comments
 (0)