From: Holger Levsen Date: Wed, 24 Aug 2011 14:15:20 +0000 (+0200) Subject: use ~ in versions created for daily builds X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=abb4321e735e6a8594154e170b090cee267f1aeb;p=profitbricks%2Fjenkins-build-scripts.git use ~ in versions created for daily builds --- diff --git a/build.py b/build.py index c7d326d..4d9fdf1 100755 --- 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(