Skip to content

Commit

Permalink
chore: change trime file name
Browse files Browse the repository at this point in the history
  • Loading branch information
shitlime authored Mar 10, 2024
1 parent af302f5 commit 7c4e586
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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], # 架构
Expand Down

0 comments on commit 7c4e586

Please sign in to comment.