build script - remove leading zeros from timestamp part of version number - possibly helps with firefox+greasemonkey update checks?
This commit is contained in:
parent
84cb73d8e1
commit
8a2ca8076b
2
build.py
2
build.py
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user