forked from openlp/openlp
use revision number for appveyor id
This commit is contained in:
parent
1bb2e9e278
commit
bbda32b949
@ -72,7 +72,7 @@ def get_version():
|
||||
if code != 0:
|
||||
raise Exception('Error running bzr log')
|
||||
latest = output.decode('utf-8').split(':')[0]
|
||||
version_string = latest == revision and tag or '%s-bzr%s' % (tag, latest)
|
||||
version_string = latest == revision and tag or 'r%s' % latest
|
||||
# Save decimal version in case we need to do a portable build.
|
||||
version = latest == revision and tag or '%s.%s' % (tag, latest)
|
||||
return version_string, version
|
||||
|
Loading…
Reference in New Issue
Block a user