Project

General

Profile

« Previous | Next » 

Revision 7b926d1d

Added by Dominic Cleal almost 10 years ago

Use current timestamp to make rebuilds easier

View differences:

rel-eng/custom/custom.py
replacements.append((version_regex, "Version: %s\n" % self.version))
self.replace_in_spec(replacements)
rel_date = datetime.fromtimestamp(job_info["timestamp"] / 1000).strftime("%Y%m%d%H%M")
rel_date = datetime.utcnow().strftime("%Y%m%d%H%M")
gitrev = ""
for action in job_info["actions"]:
if "lastBuiltRevision" in action:

Also available in: Unified diff