Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: modify trime nightly file name #2

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "{}月{}日-{}-{}个改动-{}-{}-{}.删后缀喵".format(
name = "{}月{}日-{}-{}个改动-{}-{}-{}.apk.删后缀喵".format(
datetime.datetime.now().month, # 月
datetime.datetime.now().day, # 日
file_name_groups[3], # 架构
Expand Down
Loading