Yuvipanda has submitted this change and it was merged.

Change subject: Kill alpha build folders from previous runs
......................................................................


Kill alpha build folders from previous runs

This was main culprit behind failures, since you end up with
a long chain of .alpha.alpha.alpha packages that then fail

Change-Id: Ife1e65ded0897e9b19d64f2f97739e32cb3c86cc
---
M src/build.py
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Yuvipanda: Verified; Looks good to me, approved



diff --git a/src/build.py b/src/build.py
index bdf7a0c..f411085 100755
--- a/src/build.py
+++ b/src/build.py
@@ -38,6 +38,9 @@
 
     meta['commit_hash'] = commit_hash
 
+    # Clean out previous alpha folder
+    sh.rm('-rf', '~/wikipedia/wikipedia/src/main/java/org/wikipedia/alpha')
+
     # Change the package name to .alpha
     prepare_release = 
sh.Command(os.path.expanduser('~/wikipedia/scripts/prepare-release.py'))
     prepare_release('--alpha')

-- 
To view, visit https://gerrit.wikimedia.org/r/159481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ife1e65ded0897e9b19d64f2f97739e32cb3c86cc
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/wikipedia-android-builds
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to