Commit 26b2e7dc authored by vvb2060's avatar vvb2060 Committed by John Wu

Care version code changes

parent c3313623
...@@ -284,8 +284,7 @@ def build_binary(args): ...@@ -284,8 +284,7 @@ def build_binary(args):
if os.stat(args.config).st_mtime_ns > flags_stat.st_mtime_ns: if os.stat(args.config).st_mtime_ns > flags_stat.st_mtime_ns:
update_flags = True update_flags = True
last_commit = int(cmd_out(['git', 'log', '-1', r'--format=%at', 'HEAD'])) if os.stat('gradle.properties').st_mtime_ns > flags_stat.st_mtime_ns:
if last_commit > flags_stat.st_mtime:
update_flags = True update_flags = True
if update_flags: if update_flags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment