mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
T1562: change version scheme on current branch used for rolling releases
This commit is contained in:
parent
e81b7d5b25
commit
90759a092e
@ -1,3 +1,3 @@
|
||||
{
|
||||
"current": "1.2.0"
|
||||
"current": "1.2"
|
||||
}
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user