summaryrefslogtreecommitdiff
path: root/tools/read-version
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-08-10 13:18:40 -0400
committerScott Moser <smoser@brickies.net>2016-08-10 13:18:40 -0400
commit1e85ba042c786e56449642aec59874a9bb059262 (patch)
tree84bca95a8081aae522f89442d59c8841ff7aedd0 /tools/read-version
parent3aa094b6917240e6654993b34a48403cb7e14b02 (diff)
downloadvyos-cloud-init-1e85ba042c786e56449642aec59874a9bb059262.tar.gz
vyos-cloud-init-1e85ba042c786e56449642aec59874a9bb059262.zip
tools/read-version: update to address change in version
commit 48ec60ae changed over several tools to use X.Y.Z-XXX-gHASH but missed tools/read-version. The end result was that check_version failed.
Diffstat (limited to 'tools/read-version')
-rwxr-xr-xtools/read-version4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/read-version b/tools/read-version
index 5ecf7247..c10f9b46 100755
--- a/tools/read-version
+++ b/tools/read-version
@@ -71,8 +71,8 @@ else:
version_long = None
# version is X.Y.Z[+xxx.gHASH]
-# version_long is None or X.Y.Z+xxx.gHASH
-release = version.partition("+")[0]
+# version_long is None or X.Y.Z-xxx-gHASH
+release = version.partition("-")[0]
extra = None
commit = None
distance = None