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