Skip to content

Commit d2f67fd

Browse files
committed
Updated build scripts for Windows to correctly grab the version.
1 parent 4c11f8b commit d2f67fd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build_windows.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ del command_line_builds\files\compressors\upx-linux-x32
1717

1818
makensis /V4 Web2Exe.nsi
1919

20-
set /p Version=<version.txt
20+
set /p Version=<files\version.txt
2121

2222
7z a Web2ExeWin-%Version%.zip -r Web2ExeWin
2323
cd command_line_builds

upload_release.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def main():
2828
password = getpass.getpass('Password:')
2929

3030
if req.status_code == 200:
31+
print 'Found release:', version
3132
json_data = json.loads(req.text)
3233
tag = json_data.get('tag_name', '')
3334
cur_ver = Version(tag[1:-1])
@@ -38,6 +39,7 @@ def main():
3839
upload_url = json_data['upload_url'].replace('{?name,label}', '')
3940

4041
if not update:
42+
print 'Creating release:', version
4143
data = {'tag_name': version,
4244
'target_commitish': 'master',
4345
'name': 'Web2Executable ' + version}

0 commit comments

Comments
 (0)