]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
append ~alpha to uploads to unstable.
authorHolger Levsen <holger@layer-acht.org>
Thu, 12 Apr 2012 16:04:02 +0000 (18:04 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 12 Apr 2012 16:04:02 +0000 (18:04 +0200)
debian_build.py

index bd8b801f8580cf4971bbea95e5b17abf63f4f944..5e744e7309b34a04339c21efd30ab97d10b2479f 100755 (executable)
@@ -358,6 +358,7 @@ if __name__ == '__main__':
                 if GIT_BRANCH_NAME == 'pre-staging':
                     changelog_distro = 'pre-staging'
                 else:
+                    version = '%s~alpha%s+%s+%s' %(version, daily_date, BUILD_NUMBER, current_commit[0:7])
                     changelog_distro = 'unstable'
             else:
                     changelog_distro = 'pre-staging'