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

安定版のアップデートの確認時に開発版も含まれてしまうバグ #178

Closed
Robot-Inventor opened this issue May 9, 2021 · 0 comments · Fixed by #182
Closed
Labels
bug Something isn't working
Milestone

Comments

@Robot-Inventor
Copy link
Owner

安定版でアップデートの確認を実施すると、リリースチャンネルに関係なく最新のバージョンがアップデートとして表示される。これは、正規表現の否定を?<!にすべきところが?!になっている記述ミスが原因。そのため、以下を

if(latest_version := re.search("<title>v(\d|\.).*?(?!dev)-\w*?</title>", atom_file)):

以下に変えれば正常に動作する。

if(latest_version := re.search("<title>v(\d|\.).*?(?<!dev)-\w*?</title>", atom_file)): 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant