From 4cf5b24dfe63a1135a975cf864365c240459b69c Mon Sep 17 00:00:00 2001 From: cxfksword <718792+cxfksword@users.noreply.github.com> Date: Sat, 2 Dec 2023 16:30:23 +0800 Subject: [PATCH] ci: update github action --- scripts/generate_manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_manifest.py b/scripts/generate_manifest.py index 308fb09..759cbce 100755 --- a/scripts/generate_manifest.py +++ b/scripts/generate_manifest.py @@ -56,7 +56,7 @@ def main(): raise # 追加新版本/覆盖旧版本 - manifest[0]['versions'] = list(filter(lambda x: x['version'] != version, manifest[0]['versions'])) + manifest[0]['versions'] = list(filter(lambda x: x['version'] != f"{version}.0", manifest[0]['versions'])) manifest[0]['versions'].insert(0, generate_version(filepath, version, changelog)) with open('manifest.json', 'w') as f: