Sign in
bazel
/
continuous-integration
/
7e9a4d22e7cb4ddda5dc200f73d55a20b8d4849f
/
.
/
BUILD
blob: 7e76bfa35c730f3590919647306a4339f27213ea [
file
] [
log
] [
blame
]
genrule
(
name
=
"git-hash"
,
srcs
=
[
".git/logs/HEAD"
],
outs
=
[
"git-hash.txt"
],
cmd
=
"tail -1 $< | cut -d ' ' -f 2 > $@"
,
visibility
=
[
"//visibility:public"
],
)