Use new version number format

This commit is contained in:
Raoul Snyman 2018-12-01 23:07:08 -07:00
parent 499847bbcd
commit 16a8037d44
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class Builder(object):
tag, revision = lines[-1].split()
output = self._bzr('log', self.branch_path, ['--line', '-r', '-1'], 'Error running bzr log')
revision = output.split(':')[0]
self.version = '{tag}-bzr{revision}'.format(tag=tag, revision=revision)
self.version = '{tag}.dev{revision}'.format(tag=tag, revision=revision)
# Write the version to the version file
with open(os.path.join(self.dist_path, '.version'), 'w') as version_file:
version_file.write(str(self.version))