Skip to content
Permalink
Browse files

try to fix src path

  • Loading branch information
abma committed Nov 28, 2019
1 parent 0bba20e commit e871ce5822beb228638123f7919f64410211464a
Showing with 8 additions and 6 deletions.
  1. +1 −0 .gitignore
  2. +0 −1 develop/version-develop.txt
  3. +7 −5 tools/upload-build.py
@@ -47,3 +47,4 @@ Makefile
/installer/uninstall.nsh

build/
develop/

This file was deleted.

@@ -1,12 +1,14 @@
#!/usr/bin/env python3


import subprocess, os, shutil, glob
import subprocess, os, shutil, glob, sys

print(os.getcwd())

print("cwd: ", os.getcwd())

strip = "/opt/mingw32/usr/bin/i686-w64-mingw32-strip"
srcdir = os.path.abspath(sys.argv[1])

print("src: ", srcdir)

version = subprocess.check_output(["git", "describe", "--tags"], universal_newlines=True).strip()
assert(len(version) > 0)
@@ -25,8 +27,8 @@
f.write(version)


installer = glob.glob("SpringLobby-*.exe")
zip = glob.glob("springlobby-*-win32.zip")
installer = glob.glob(srcdir + "/SpringLobby-*.exe")
zip = glob.glob(srcdir + "/springlobby-*-win32.zip")


for srcfile in installer + zip:

0 comments on commit e871ce5

Please sign in to comment.
You can’t perform that action at this time.