Skip to content

Commit

Permalink
fix cargo release setup so we include generation in tag commit
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Dec 23, 2024
1 parent 6b743ce commit 1dcb1c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
#
# Versions are bumped in both Cargo.toml and Chart.yaml simultaneously through cargo-release
#
# 1. cargo release patch --execute
# 2. just generate
# 3. git add yaml && git commit --amend --signoff
# cargo release patch --execute

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

pre-release-replacements = [
{file="charts/doc-controller/Chart.yaml", search="appVersion: .*", replace="appVersion: {{version}}"},
]
pre-release-hook = ["just", "generate"]
pre-release-commit-message = "release {{version}}"
push = false
tag = true
Expand Down

0 comments on commit 1dcb1c4

Please sign in to comment.