build script - remove leading zeros from timestamp part of version number - possibly helps with firefox+greasemonkey update checks?

This commit is contained in:
Jon Atkins 2013-05-20 03:12:55 +01:00
parent 84cb73d8e1
commit 8a2ca8076b

View File

@ -53,7 +53,7 @@ settings = buildSettings[buildName]
utcTime = time.gmtime() utcTime = time.gmtime()
buildDate = time.strftime('%Y-%m-%d-%H%M%S',utcTime) buildDate = time.strftime('%Y-%m-%d-%H%M%S',utcTime)
# userscripts have specific specifications for version numbers - the above date format doesn't match # userscripts have specific specifications for version numbers - the above date format doesn't match
dateTimeVersion = time.strftime('%Y%m%d.%H%M%S',utcTime) dateTimeVersion = time.strftime('%Y%m%d.',utcTime) + time.strftime('%H%M%S',utcTime).lstrip('0')
# extract required values from the settings entry # extract required values from the settings entry
resourceUrlBase = settings.get('resourceUrlBase') resourceUrlBase = settings.get('resourceUrlBase')