eobuilder-ctl: fixes generation of last_version file
This commit is contained in:
parent
d230e6ddb3
commit
fb7e28533e
|
@ -305,7 +305,7 @@ def main():
|
|||
|
||||
last_version_file = os.path.join(project['lock_path'],
|
||||
"%s_%s.last_version" % (project['name'], dist))
|
||||
with open(last_version_file, 'a') as f:
|
||||
with open(last_version_file, 'w+') as f:
|
||||
f.write(package_version)
|
||||
f.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue