summaryrefslogtreecommitdiff
path: root/scripts/make-version-file
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-05 14:21:22 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-05 14:21:22 +0200
commit90759a092e85517f80c8937b4a40f0493123c501 (patch)
treeb63ac9d7cbeac5d70c483142771486d9767ae507 /scripts/make-version-file
parente81b7d5b25cd57fa8c8c9cc085703b68932eee3d (diff)
downloadvyos-build-90759a092e85517f80c8937b4a40f0493123c501.tar.gz
vyos-build-90759a092e85517f80c8937b4a40f0493123c501.zip
T1562: change version scheme on current branch used for rolling releases
Diffstat (limited to 'scripts/make-version-file')
-rwxr-xr-xscripts/make-version-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make-version-file b/scripts/make-version-file
index 4df2cb6c..fa632eed 100755
--- a/scripts/make-version-file
+++ b/scripts/make-version-file
@@ -64,7 +64,7 @@ if build_config['build_type'] == 'development':
git_branch = repo.active_branch.name
branch_version = version_mapping[git_branch]
- version = "{0}-rolling+{1}".format(branch_version, build_timestamp)
+ version = "{0}-rolling-{1}".format(branch_version, build_timestamp)
except Exception as e:
print("Could not build a version string specific to git branch, falling back to default: {0}".format(str(e)))
version = "999.{0}".format(build_timestamp)