diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-09-12 14:55:24 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-12 14:55:24 -0700 |
commit | 78cfbbda4bcf29cc445f2ac000d4f2f9c72123f6 (patch) | |
tree | 744e315a718e47a6e29124ba992869d68a6b9e8b /runsc/BUILD | |
parent | 857940d30d3a8dbb099bad43954fe8062b70461d (diff) | |
parent | c1a8275b470fe0d8390cba166d4937059fd89b8b (diff) |
Merge pull request #843 from nlacasse:version
PiperOrigin-RevId: 268772451
Diffstat (limited to 'runsc/BUILD')
-rw-r--r-- | runsc/BUILD | 11 |
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"], +) |