constellation/internal/constants/BUILD.bazel
Otto Bittner 1d5a8283e0
cli: use Semver type to represent microservice versions (#2125)
Previously we used strings to pass microservice versions. This invited
bugs due to missing input validation.
2023-07-25 14:20:25 +02:00

22 lines
562 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "constants",
srcs = [
"constants.go",
# keep
"enterprise.go",
# keep
"oss.go",
],
importpath = "github.com/edgelesssys/constellation/v2/internal/constants",
visibility = ["//:__subpackages__"],
x_defs = {
"commit": "{STABLE_STAMP_COMMIT}",
"state": "{STABLE_STAMP_STATE}",
"timestamp": "{STABLE_STAMP_TIME}",
"versionInfo": "{STABLE_STAMP_VERSION}",
},
deps = ["//internal/semver"],
)