Skip to content

Commit

Permalink
Merge pull request #1764 from kinnison/kinnison/update-git-testament
Browse files Browse the repository at this point in the history
Version: Update git-testament to 0.1.4 and trust `stable`
  • Loading branch information
nrc committed Apr 14, 2019
2 parents cf07f2b + 7e7d855 commit 4017736
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -47,7 +47,7 @@ wait-timeout = "0.2"
walkdir = "2"
xz2 = "0.1.3"
openssl = { version = "0.10", optional = true }
git-testament = "0.1"
git-testament = "0.1.4"
lazy_static = "1"

[target."cfg(windows)".dependencies]
Expand Down
5 changes: 4 additions & 1 deletion src/cli/common.rs
Expand Up @@ -406,7 +406,10 @@ git_testament!(TESTAMENT);

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

0 comments on commit 4017736

Please sign in to comment.