Moar sanity checks

This commit is contained in:
Mike A. Trethewey
2020-02-26 03:35:32 -08:00
parent 0d45f20eae
commit 5897cb0b80
2 changed files with 9 additions and 5 deletions

View File

@@ -75,11 +75,12 @@ for BUILD_FILENAME in BUILD_FILENAMES:
for BUILD_FILENAME in BUILD_FILENAMES:
if not "artifact" in BUILD_FILENAME:
# move the binary back
move(
os.path.join("..","artifact",BUILD_FILENAME),
os.path.join(".",BUILD_FILENAME)
)
if os.path.isfile(os.path.join("..","artifact",BUILD_FILENAME)):
# move the binary back
move(
os.path.join("..","artifact",BUILD_FILENAME),
os.path.join(".",BUILD_FILENAME)
)
# .zip if windows
# .tar.gz otherwise