]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
use ~ in versions created for daily builds
authorHolger Levsen <holger@layer-acht.org>
Wed, 24 Aug 2011 14:15:20 +0000 (16:15 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 24 Aug 2011 14:15:20 +0000 (16:15 +0200)
build.py

index c7d326d5bf03f53f7e2c32a215b975091efe8463..4d9fdf1bacb1df314d25b6005f67cc5ce223e608 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -284,7 +284,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' %(pb_version, daily_date)
         os.unlink('debian/changelog')
         cmd = ['/usr/bin/git', 'log']
         git_log = subprocess.Popen(