Skip to content

Fix install.sh version regex to allow v prefix#10

Merged
chigichan24 merged 1 commit into
mainfrom
fix-install-version-regex
Mar 21, 2026
Merged

Fix install.sh version regex to allow v prefix#10
chigichan24 merged 1 commit into
mainfrom
fix-install-version-regex

Conversation

@chigichan24
Copy link
Copy Markdown
Owner

Summary

  • install.sh の VERSION バリデーション正規表現を ^[0-9]+\.[0-9]+\.[0-9]+$^v?[0-9]+\.[0-9]+\.[0-9]+$ に修正
  • artifact bundle のディレクトリ名が xpbc-v0.2.0-macos (git tag の v プレフィックス付き) であるため、v を許容する必要がある

Test plan

  • curl -fsSL .../install.sh | bash で v0.2.0 がインストールできること

🤖 Generated with Claude Code

The artifact bundle directory is named xpbc-v0.2.0-macos (with v prefix
from the git tag), but the version validation regex only accepted bare
semver without the v prefix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chigichan24 chigichan24 merged commit 9533eb0 into main Mar 21, 2026
1 check passed
@chigichan24 chigichan24 deleted the fix-install-version-regex branch March 21, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant