]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
force all pre-staging builds to be non-native
authorHolger Levsen <holger@layer-acht.org>
Sat, 17 Sep 2011 08:42:22 +0000 (10:42 +0200)
committerHolger Levsen <holger@layer-acht.org>
Sat, 17 Sep 2011 08:42:22 +0000 (10:42 +0200)
debian_build.py

index 4acc9f48dae5a3be055cd1a3f617fb4756ce883a..5d3b22a5d24f5b4cd396fefa05a09b8caf93812f 100755 (executable)
@@ -319,7 +319,7 @@ if __name__ == '__main__':
     if options.distribution in ('unstable', 'experimental'):
 
         daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
-        version = '%s~%s' %(pb_version, daily_date)
+        version = '%s~%s-1' %(pb_version, daily_date)
         os.unlink('debian/changelog')
         cmd = ['/usr/bin/git', 'log', '--since=yesterday', '--abbrev-commit', '--format=format:"%cD -- %aN%n[%h] %s%n"']
         git_log = subprocess.Popen(