From 7c4e586fb60d8b75ae955aaef3ecd01c438ffe12 Mon Sep 17 00:00:00 2001 From: shitlime Date: Mon, 11 Mar 2024 02:51:10 +0800 Subject: [PATCH] chore: change trime file name --- modules/scheduler/TrimeNightlyUpload/trime_nightly_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/scheduler/TrimeNightlyUpload/trime_nightly_upload.py b/modules/scheduler/TrimeNightlyUpload/trime_nightly_upload.py index 250cec7..59abed8 100644 --- a/modules/scheduler/TrimeNightlyUpload/trime_nightly_upload.py +++ b/modules/scheduler/TrimeNightlyUpload/trime_nightly_upload.py @@ -49,7 +49,7 @@ async def upload_trime_nightly(app: Ariadne): # 重命名成 [日期]-[架构]-[commit次数]-[哈希]-[名称]-[r/d] regix_file_name = r"(trime-nightly)-(\d+)-g([a-f0-9]+)-(.+)-(release|debug).apk" file_name_groups = re.search(regix_file_name, file_name).groups() - name = "{}月{}日-{}-{}个改动-{}-{}-{}.apk.删后缀喵".format( + name = "{}月{}日-{}-{}个改动-{}-{}-{}.APK".format( datetime.datetime.now().month, # 月 datetime.datetime.now().day, # 日 file_name_groups[3], # 架构