Updated build scripts for Windows to correctly grab the version.
This commit is contained in:
parent
4c11f8b50c
commit
d2f67fd6f1
2 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ del command_line_builds\files\compressors\upx-linux-x32
|
|||
|
||||
makensis /V4 Web2Exe.nsi
|
||||
|
||||
set /p Version=<version.txt
|
||||
set /p Version=<files\version.txt
|
||||
|
||||
7z a Web2ExeWin-%Version%.zip -r Web2ExeWin
|
||||
cd command_line_builds
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ def main():
|
|||
password = getpass.getpass('Password:')
|
||||
|
||||
if req.status_code == 200:
|
||||
print 'Found release:', version
|
||||
json_data = json.loads(req.text)
|
||||
tag = json_data.get('tag_name', '')
|
||||
cur_ver = Version(tag[1:-1])
|
||||
|
|
@ -38,6 +39,7 @@ def main():
|
|||
upload_url = json_data['upload_url'].replace('{?name,label}', '')
|
||||
|
||||
if not update:
|
||||
print 'Creating release:', version
|
||||
data = {'tag_name': version,
|
||||
'target_commitish': 'master',
|
||||
'name': 'Web2Executable ' + version}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue