fix: バージョン文字列の先頭の'v'を除去して更新確認の失敗を修正#196
Merged
Merged
Conversation
Closed
Agent-Logs-Url: https://github.com/Freeesia/VdLabel/sessions/1205c0e4-aeda-4ae4-b645-0fd9d606b117 Co-authored-by: Freeesia <9002657+Freeesia@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Freeesia/VdLabel/sessions/1205c0e4-aeda-4ae4-b645-0fd9d606b117 Co-authored-by: Freeesia <9002657+Freeesia@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Freeesia/VdLabel/sessions/1205c0e4-aeda-4ae4-b645-0fd9d606b117 Co-authored-by: Freeesia <9002657+Freeesia@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix update confirmation processing for release version prefix
fix: バージョン文字列の先頭の'v'を除去して更新確認の失敗を修正
Apr 5, 2026
Freeesia
approved these changes
Apr 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHubリリースのタグ名が
v1.2.3形式になったことで、new Version("v1.2.3")がFormatExceptionをスローし、更新確認処理が失敗していた。変更内容
ParseVersionヘルパーメソッドを追加: バージョン文字列の先頭のv/Vを除去してからVersionを生成ParseVersion()に統一:CheckAndDownload(×2) とCheck(×1) の全比較箇所を置き換えrelease.Name→release.TagNameに統一: 比較・保存・ログ・通知で一貫してタグ名を使用