Skip to content

Commit 4017736

Browse files
authored
Merge pull request #1764 from kinnison/kinnison/update-git-testament
Version: Update git-testament to 0.1.4 and trust `stable`
2 parents cf07f2b + 7e7d855 commit 4017736

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ wait-timeout = "0.2"
4747
walkdir = "2"
4848
xz2 = "0.1.3"
4949
openssl = { version = "0.10", optional = true }
50-
git-testament = "0.1"
50+
git-testament = "0.1.4"
5151
lazy_static = "1"
5252

5353
[target."cfg(windows)".dependencies]

src/cli/common.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,10 @@ git_testament!(TESTAMENT);
406406

407407
pub fn version() -> &'static str {
408408
lazy_static! {
409-
static ref RENDERED: String = render_testament!(TESTAMENT);
409+
// Because we trust our `stable` branch given the careful release
410+
// process, we mark it trusted here so that our version numbers look
411+
// right when built from CI before the tag is pushed
412+
static ref RENDERED: String = render_testament!(TESTAMENT, "stable");
410413
}
411414
&RENDERED
412415
}

0 commit comments

Comments
 (0)