Details
Description
packager.py needs to understand that -alpha builds are pre-releases, so packages are generated with the right name and put in the right repo directory. Something like this:
diff --git a/buildscripts/packager.py b/buildscripts/packager.py
|
index c515301b89..4f084375d3 100755
|
--- a/buildscripts/packager.py
|
+++ b/buildscripts/packager.py
|
@@ -70,7 +70,7 @@ class Spec(object):
|
|
|
def is_rc(self):
|
"""Return True if rc."""
|
- return bool(re.search(r"-rc\d+$", self.version()))
|
+ return bool(re.search(r"(-rc|-alpha)\d+$", self.version()))
|
|
|
def is_pre_release(self):
|
"""Return True if pre-release.""" |
Without this change, 4.9.0-alpha4 will be named 4.9.0 and overwrite the previous 4.9.0-alpha3. Also, the corresponding package won't be in the testing directory in the repo, but along with the stable releases.