diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/publish_to_snapshots.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py index 3e0ad53..c03b6f3 100755 --- a/scripts/publish_to_snapshots.py +++ b/scripts/publish_to_snapshots.py @@ -398,6 +398,9 @@ def main(): ret = publisher.check_buildinfo(build_dir_path) if ret != PASS: print "BUILD-INFO.txt is not present in artifacts being published" + # Remove artifacts from upload dir + if os.path.isdir(build_dir_path): + shutil.rmtree(build_dir_path) return FAIL ret = publisher.move_artifacts(args, build_dir_path, target_dir_path) if ret != PASS: |