summaryrefslogtreecommitdiffhomepage
path: root/runsc/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-12 14:55:24 -0700
committergVisor bot <gvisor-bot@google.com>2019-09-12 14:55:24 -0700
commit78cfbbda4bcf29cc445f2ac000d4f2f9c72123f6 (patch)
tree744e315a718e47a6e29124ba992869d68a6b9e8b /runsc/BUILD
parent857940d30d3a8dbb099bad43954fe8062b70461d (diff)
parentc1a8275b470fe0d8390cba166d4937059fd89b8b (diff)
Merge pull request #843 from nlacasse:version
PiperOrigin-RevId: 268772451
Diffstat (limited to 'runsc/BUILD')
-rw-r--r--runsc/BUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/runsc/BUILD b/runsc/BUILD
index a2a465e1e..5e7dacb87 100644
--- a/runsc/BUILD
+++ b/runsc/BUILD
@@ -13,7 +13,7 @@ go_binary(
visibility = [
"//visibility:public",
],
- x_defs = {"main.version": "{VERSION}"},
+ x_defs = {"main.version": "{STABLE_VERSION}"},
deps = [
"//pkg/log",
"//pkg/refs",
@@ -46,7 +46,7 @@ go_binary(
visibility = [
"//visibility:public",
],
- x_defs = {"main.version": "{VERSION}"},
+ x_defs = {"main.version": "{STABLE_VERSION}"},
deps = [
"//pkg/log",
"//pkg/refs",
@@ -101,3 +101,10 @@ pkg_deb(
"//visibility:public",
],
)
+
+sh_test(
+ name = "version_test",
+ size = "small",
+ srcs = ["version_test.sh"],
+ data = [":runsc"],
+)