summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Doukoudakis <thanos.doukoudakis@isode.com>2018-03-29 10:40:03 (GMT)
committerThanos Doukoudakis <thanos.doukoudakis@isode.com>2018-03-29 13:53:11 (GMT)
commitfa2c9c62260ad793edf7082922d4ccda2a9564d8 (patch)
tree0653e3cda86a7c61d03f161350ac8e290b93306f
parentce001ffe0d598c75df5719b9a6aa0e544594408a (diff)
downloadswift-fa2c9c62260ad793edf7082922d4ccda2a9564d8.zip
swift-fa2c9c62260ad793edf7082922d4ccda2a9564d8.tar.bz2
Fix distribution of alpha releases
This patch fixes an issue where alpha releases were distributed in the beta and release channels for Ubuntu and Debian distributions. Alpha releases are now distributed only in the development channel. Test-Information: Tested the patch on Debian Stretch by creating a new repository using update_debian_repo.sh and importing builds that were built for Debian Stretch on 4.0beta2, 4.0rc6, 4.0, 5.0alpha and 5.1alpha tags, and some development builds (5.0alpha-dev8). 5.1alpha tag was created locally to have an alpha build that contained the fix. Tested importing builds in the order that originally caused the issue (4.0rc6 then 4.0 then 5.0alphaX) before and after the fix. Change-Id: I65f3d188872112e1d770e6a6af0814d44fcd4bba
-rwxr-xr-xBuildTools/UpdateDebianChangelog.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/BuildTools/UpdateDebianChangelog.py b/BuildTools/UpdateDebianChangelog.py
index 1d0e3ea..d7e1f1b 100755
--- a/BuildTools/UpdateDebianChangelog.py
+++ b/BuildTools/UpdateDebianChangelog.py
@@ -20,7 +20,7 @@ if m :
if project == "" :
project="swift-im"
-if "dev" in version :
+if "dev" in version or "alpha" in version :
distribution = "development"
elif "beta" in version or "rc" in version :
distribution = "beta development"
@@ -38,4 +38,3 @@ if last_version != version :
changelog.write("\n")
changelog.write(changelog_data)
changelog.close()
-