Skip to content

PRでバージョンアップ設計に戻した - #5185

Merged
TinyKitten merged 1 commit into
devfrom
fix/eas-ios-build-fail
Jan 27, 2026
Merged

TinyKitten merged 1 commit into
devfrom
fix/eas-ios-build-fail

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Jan 27, 2026 •

Copy link
Copy Markdown
Member

複数のターゲット・ビルドバリアントでEASの自動インクリメントは無理だった

Summary by CodeRabbit

リリースノート

  • Chores(雑務)
    • GitHub Actionsを活用した自動バージョンバンプシステムを導入しました。
    • iOS・Androidのバージョン管理設定を統一し、ビルド番号を正式化しました。
    • セマンティックバージョニングとビルド番号の自動管理スクリプトを実装しました。

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 27, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

プロジェクト全体の自動版管理システムを導入しました。Canary PRに対して自動的にバージョン番号を更新するGitHub Actionsワークフローを追加し、マルチプラットフォーム(iOS/Android)の版管理ファイルとビルド設定を統一的に更新するNode.jsスクリプトを実装しました。

Changes

Cohort / File(s) 説明
GitHub Actionsワークフロー
.github/workflows/bump_version_on_pr.yml
Canary PRをトリガーに自動版更新を実行するワークフロー。依存関係のインストール、版バンプスクリプト実行、更新済みPRの自動作成を実行。62行追加。
版バンプ自動化スクリプト
scripts/bump-version.js
iOS/Android間で版番号とビルド番号を同期更新するNode.jsスクリプト。SemVer解析、複数ファイルの版情報抽出・更新、日本語エラーメッセージを実装。326行追加。
Androidビルド設定
android/app/build.gradle
devおよびprodフレーバーのversionCodeを1から100000212に更新。
iOSプロジェクト設定
ios/TrainLCD.xcodeproj/project.pbxproj
複数のXCBuildConfigurationブロックでCURRENT_PROJECT_VERSIONを2425に統一し、VERSIONING_SYSTEM = "apple-generic"を導入。
iOS Info.plistファイル
ios/CanaryAppClip/Info.plist, ios/ProdAppClip/Info.plist, ios/RideSessionActivity/Schemes/Dev/Info.plist, ios/RideSessionActivity/Schemes/Prod/Info.plist, ios/WatchWidget/Schemes/Dev/Info.plist, ios/WatchWidget/Schemes/Prod/Info.plist
各Info.plistにCFBundleShortVersionString($(MARKETING_VERSION))とCFBundleVersion($(CURRENT_PROJECT_VERSION))を追加。計24行追加。
プロジェクト版情報
app.config.ts, package.json
トップレベルにversion: '10.0.132'を追加。app.config.tsにversionCode: 100000212、package.jsonにversion:bumpスクリプトを追加。
ビルド設定
eas.json
appVersionSourceフィールドを削除し、ビルド設定からautoIncrementフラグを削除。

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 バージョン跳ねて、自動で更新
iOS、Androidも手を取り合い
GitHub Actionsが舞台裏で躍動
版番号、統一、スムーズに流れ
🎉 Canary PRは今宵、完璧に変わる

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive PRのタイトルが日本語で記述されており、バージョンアップ設計に関する変更を説明していますが、具体的な内容が不明確です。 タイトルをより具体的かつ明確にしてください。例えば、「ビルド失敗を修正するためにバージョンアップシステムを設計に戻す」のような詳細な説明が有益です。
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Comment @coderabbitai help to get the list of available commands and usage tips.

@TinyKitten TinyKitten self-assigned this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant