add tag to zip filename

This commit is contained in:
jobevers 2017-02-23 12:24:54 -06:00
parent e69e0f0c54
commit 0c431b0947

View file

@ -1,11 +1,13 @@
import os
import platform
import subprocess
import sys
import zipfile
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)
executable = 'lbrynet-daemon'
if platform.system() == 'Windows':