From e0b254a309aa4a2b824bd6182a1ad88bf7f477f8 Mon Sep 17 00:00:00 2001 From: Junfeng Li Date: Mon, 3 Sep 2018 20:50:19 -0700 Subject: [PATCH] Pass through TRAVIS_COMMIT in cross. --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 59085b38b..62395d76a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,3 +35,8 @@ pre-release-replacements = [ { file = "install.ps1", search = "version = '.*'", replace = "version = '{{version}}'" } ] pre-release-hook = ["cargo", "build"] + +[build.env] +passthrough = [ + "TRAVIS_COMMIT", +]