)
exit_error()
- if (options.distribution in ('testing', 'staging') or (options.distribution in ('unstable', 'pre-staging'):
+ if options.distribution in ('testing', 'staging', 'unstable', 'pre-staging'):
daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
- if (options.distribution in ('testing', 'staging'):
+ if options.distribution in ('testing', 'staging'):
version = '%s~rc%s-1' %(version, daily_date)
else:
version = '%s~develop%s-1' %(version, daily_date)