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:
Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
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.