From 26b2e7dc5d7e9e71fc14c9885b952b94badddba5 Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Thu, 28 Jan 2021 02:59:54 +0800 Subject: [PATCH] Care version code changes --- build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.py b/build.py index 77e3b8a25..6031244de 100755 --- a/build.py +++ b/build.py @@ -284,8 +284,7 @@ def build_binary(args): if os.stat(args.config).st_mtime_ns > flags_stat.st_mtime_ns: update_flags = True - last_commit = int(cmd_out(['git', 'log', '-1', r'--format=%at', 'HEAD'])) - if last_commit > flags_stat.st_mtime: + if os.stat('gradle.properties').st_mtime_ns > flags_stat.st_mtime_ns: update_flags = True if update_flags: