From c1a8275b470fe0d8390cba166d4937059fd89b8b Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Tue, 10 Sep 2019 15:41:47 -0700 Subject: Fix `runsc --version` and add a test. We need to include the `--stamp` flag in `tools/workspace_status.sh` for the version to be picked up by the linker. Not sure why. Also changes the VERSION string to STABLE_VERSION, which will cause the program to be re-linked if the string changes. Fixes #830 --- runsc/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runsc/version.go') diff --git a/runsc/version.go b/runsc/version.go index ce0573a9b..ab9194b9d 100644 --- a/runsc/version.go +++ b/runsc/version.go @@ -15,4 +15,4 @@ package main // version is set during linking. -var version = "" +var version = "VERSION_MISSING" -- cgit v1.2.3