]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add hours,minutes and seconds again as else the number is smaller...
authorHolger Levsen <holger@layer-acht.org>
Fri, 27 Jan 2012 18:02:17 +0000 (19:02 +0100)
committerHolger Levsen <holger@layer-acht.org>
Fri, 27 Jan 2012 18:02:17 +0000 (19:02 +0100)
debian_build.py

index 8a819b859857d09a83148d632a002edb6e22a2ba..fd32029442be88977826cb6ff16847abebd6fcaf 100755 (executable)
@@ -350,7 +350,7 @@ if __name__ == '__main__':
     DPUT_OPTIONS = DPUT_OPTIONS_DEFAULT
 
     if options.distribution in ('testing', 'staging', 'unstable', 'pre-staging','experimental') or GIT_BRANCH_NAME.startswith('release/') or GIT_BRANCH_NAME.startswith('hotfix/'):
-        daily_date = datetime.datetime.now().strftime('%Y%m%d')
+        daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
 
        current_commit = git_helper.git_get_commit_id()