add tag to zip filename
This commit is contained in:
parent
e69e0f0c54
commit
0c431b0947
1 changed files with 3 additions and 1 deletions
|
@ -1,11 +1,13 @@
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
zipfilename = 'lbrynet-daemon-{}.zip'.format(get_system_label())
|
tag = subprocess.check_output(['git', 'describe']).strip()
|
||||||
|
zipfilename = 'lbrynet-daemon-{}-{}.zip'.format(tag, get_system_label())
|
||||||
full_filename = os.path.join('dist', zipfilename)
|
full_filename = os.path.join('dist', zipfilename)
|
||||||
executable = 'lbrynet-daemon'
|
executable = 'lbrynet-daemon'
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
|
|
Loading…
Add table
Reference in a new issue