Revert "修改强制构建的逻辑"

This reverts commit 2eacc9b705.
main
ZhuoZhou 2025-06-16 17:49:21 +08:00
parent 2eacc9b705
commit c3a5f4c24a
1 changed files with 9 additions and 9 deletions

View File

@ -319,9 +319,9 @@ if __name__ == '__main__':
# region 检索需要需要打包的关卡
modify_files = []
if opts.special != "0":
modify_files = opts.special.split(",")
else:
# if opts.special != "0":
# modify_files = opts.special.split(",")
# else:
#暂时不用这个方案
# 获取最近6小时内的提交记录用于解析psd
# platform = "android" if opts.platform == "Android" else "ios"
@ -336,12 +336,12 @@ if __name__ == '__main__':
# if asset_id not in modify_files:
# modify_files.append(asset_id)
#获取git 提交来得到修改的关卡
generateLevelIdListByGitLog()
if len(_levelModifiedIdList_) <= 0:
config.notification_helper.append_msg('没有需要构建的资源')
else:
modify_files = _levelModifiedIdList_
#获取git 提交来得到修改的关卡
generateLevelIdListByGitLog()
if len(_levelModifiedIdList_) <= 0:
config.notification_helper.append_msg('没有需要构建的资源')
else:
modify_files = _levelModifiedIdList_
print(f"modify_files = {modify_files}")
# alert.alert(f"构建资源列表:{str(modify_files)}")
tmstp1 = time.time()