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