Sign in
bazel
/
continuous-integration
/
0e7b5b269a8e8def145e35e96356fded1f4130a7
/
.
/
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"
],
)