Skip to content

Commit

Permalink
compile_error to test it
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed Jan 31, 2023
1 parent b7fe56a commit 67d4782
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relays/bin-substrate/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ impl SubstrateRelayBuildInfo {
// locally we don't have `CI_*` env variables, so we can't rely on them
// => we are using `CI_*` env variables or else `rbtag`
let maybe_sha_from_ci = option_env!("CI_COMMIT_SHORT_SHA");
compile_error!(env!("CI_COMMIT_SHORT_SHA")); // TODO: remove me, just for test
maybe_sha_from_ci
.map(|short_sha| {
// we assume that on CI the copy is always clean
Expand Down

0 comments on commit 67d4782

Please sign in to comment.