diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2019-09-10 15:41:47 -0700 |
---|---|---|
committer | Nicolas Lacasse <nlacasse@google.com> | 2019-09-10 15:41:47 -0700 |
commit | c1a8275b470fe0d8390cba166d4937059fd89b8b (patch) | |
tree | e4d40834098c5209d815fd8f0f4ffb9c0cf9f206 /runsc/version.go | |
parent | 849c57314f6b6f0d1ebcfa2e68762b8ea95f5948 (diff) |
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
Diffstat (limited to 'runsc/version.go')
-rw-r--r-- | runsc/version.go | 2 |
1 files changed, 1 insertions, 1 deletions
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" |