Skip to content

Commit 67d4782

Browse files
committed
compile_error to test it
1 parent b7fe56a commit 67d4782

File tree

1 file changed

+1
-0
lines changed
  • relays/bin-substrate/src/cli

1 file changed

+1
-0
lines changed

relays/bin-substrate/src/cli/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ impl SubstrateRelayBuildInfo {
267267
// locally we don't have `CI_*` env variables, so we can't rely on them
268268
// => we are using `CI_*` env variables or else `rbtag`
269269
let maybe_sha_from_ci = option_env!("CI_COMMIT_SHORT_SHA");
270+
compile_error!(env!("CI_COMMIT_SHORT_SHA")); // TODO: remove me, just for test
270271
maybe_sha_from_ci
271272
.map(|short_sha| {
272273
// we assume that on CI the copy is always clean

0 commit comments

Comments
 (0)