From 030ec0f03a0f65f81cd36b23348a3749dc03e2cb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 28 Sep 2011 17:14:18 +0200 Subject: [PATCH] use --preserve to not rename directories and dont force native package version --- debian_build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index afeda70..f1260ab 100755 --- a/debian_build.py +++ b/debian_build.py @@ -380,9 +380,9 @@ if __name__ == '__main__': daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S') if options.distribution in ('testing', 'staging'): - version = '%s~rc%s-1' %(version, daily_date) + version = '%s~rc%s' %(version, daily_date) else: - version = '%s~develop%s-1' %(version, daily_date) + version = '%s~develop%s' %(version, daily_date) new_log = 'Generated by jenkins build.' @@ -393,6 +393,7 @@ if __name__ == '__main__': '--force-bad-version', '--distribution', '%s' %(options.distribution), + '--preserve', '--', '%s' %(''.join(new_log)) ] -- 2.39.5