Do stuff if we've got filenames but only do it once
This commit is contained in:
@@ -52,14 +52,15 @@ BUILD_FILENAMES = BUILD_FILENAME
|
|||||||
|
|
||||||
print(BUILD_FILENAMES)
|
print(BUILD_FILENAMES)
|
||||||
|
|
||||||
for BUILD_FILENAME in BUILD_FILENAMES:
|
if len(BUILD_FILENAMES) > 0:
|
||||||
if not BUILD_FILENAME == "":
|
for BUILD_FILENAME in BUILD_FILENAMES:
|
||||||
if not "artifact" in BUILD_FILENAME:
|
if not BUILD_FILENAME == "":
|
||||||
# move the binary to temp folder
|
if not "artifact" in BUILD_FILENAME:
|
||||||
move(
|
# move the binary to temp folder
|
||||||
os.path.join(".",BUILD_FILENAME),
|
move(
|
||||||
os.path.join("..","artifact",BUILD_FILENAME)
|
os.path.join(".",BUILD_FILENAME),
|
||||||
)
|
os.path.join("..","artifact",BUILD_FILENAME)
|
||||||
|
)
|
||||||
|
|
||||||
# clean the git slate
|
# clean the git slate
|
||||||
git_clean()
|
git_clean()
|
||||||
|
|||||||
Reference in New Issue
Block a user