forked from kube-rs/kube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.toml
24 lines (22 loc) · 1.02 KB
/
release.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Release process :: cargo-release >= 0.18.3
#
# Dependencies: https://kube.rs/tools
#
# 0. (optional) cargo release minor ; verify readme + changelog bumped; then git reset --hard
# 1. PUBLISH_GRACE_SLEEP=20 cargo release minor --execute
# 1X. - on failure: follow plan manually, cd into next dirs and publish insequence with cargo publish --features=k8s-openapi/latest
# 2. check consolidated commit
# 2X. - on failure: git commit --amend and insert version
# 3. ./scripts/release-post.sh
# Reference
# https://github.com/sunng87/cargo-release/blob/master/docs/reference.md
consolidate-commits = true
shared-version = true
pre-release-hook = ["../scripts/release-pre.sh"]
pre-release-commit-message = "release {{version}}"
# leave tagging + pushing to postrelease script (due to potential failures in 1 and 2)
push = false
tag = false
# A Kubernetes version is normally supplied by the application consuming the library in the end.
# Since we don't have that when verifying, supply one ourselves.
enable-features = ["k8s-openapi/latest"]