prysm-pulse/shared/version/BUILD.bazel
Eduard Klementiev a3781e2ffc
Add prysm version to prometheus (#8527)
* Add prysm version to prometheus

* gofmt

* apply suggestion

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-03-01 17:50:20 +00:00

21 lines
589 B
Python

load("@prysm//tools/go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"metrics.go",
"version.go",
],
importpath = "github.com/prysmaticlabs/prysm/shared/version",
visibility = ["//visibility:public"],
x_defs = {
"gitCommit": "{STABLE_GIT_COMMIT}",
"buildDate": "{DATE}",
"gitTag": "{STABLE_GIT_TAG}",
},
deps = [
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
],
)