Skip to content

同じEASプロジェクトでprod/devビルドできるように修正 - #5173

Merged
TinyKitten merged 1 commit into
devfrom
fix/unify-eas-projects
Jan 26, 2026
Merged

TinyKitten merged 1 commit into
devfrom
fix/unify-eas-projects

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Jan 26, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

リリースノート

  • Chores

    • ビルドワークフローとバージョン管理スクリプトを削除し、ビルドプロセスを簡素化
    • EAS プロジェクト設定ファイルを更新し、自動バージョン管理の設定を改善
  • Refactor

    • アプリ設定をapp.jsonからapp.config.tsに移行し、Expo設定を一元管理

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

@coderabbitai

coderabbitai Bot commented Jan 26, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

複数の自動化ワークフロー(EASビルド/デプロイおよびGitHub ActionsのCI/CDワークフロー)を削除し、バージョン管理スクリプトと設定を廃止し、Expoの設定をapp.jsonからapp.config.ts(TypeScript)に移行し、IS_BETA_BUILD環境変数を削除してEAS設定をリモートバージョンソースに変更し、自動インクリメント機能を有効化します。

Changes

Cohort / File(s) 変更内容
EAS ワークフロー削除
\.eas/workflows/create-beta-builds.yml
Android/iOSのビルドとGoogle Play Storeへの自動デプロイメントを定義していたワークフロー全体を削除
EAS ワークフロー修正
\.eas/workflows/create-development-builds.yml, \.eas/workflows/create-production-builds.yml
EAS_PROJECT環境変数の事前チェック(検証ステップ)を削除
GitHub Actions ワークフロー削除
\.github/workflows/bump_version_on_pr.yml, \.github/workflows/deploy_android_production.yml
キャナリブランチのバージョン自動更新ワークフローとAndroidデプロイメントワークフローを削除
バージョン管理スクリプト削除
scripts/bump-version.js
SemVerバージョン管理、複数ファイル同期、iOS/Androidネイティブファイル更新を行っていた303行のスクリプトを削除
Expoアプリ設定の移行
app.json, app.config.ts
JSON形式の設定ファイル(app.json)を削除し、TypeScript形式の動的設定ファイル(app.config.ts)に置き換え。プラグイン、iOS/Androidビルド設定、EASプロジェクトIDなどの設定を保持
環境設定と依存スクリプト修正
\.env, package.json, eas.json
IS_BETA_BUILD環境変数を削除、version:bumpスクリプトを削除、appVersionSourceを「local」から「remote」に変更し、distribution設定にautoIncrementを追加

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • EASにお引越し #4539: このPRで削除されるEASワークフローファイルと bump-version スクリプト、Expoアプリ設定の変更がPR #4539で導入されたものと直接対応しており、その変更をリバートする形になっている
  • Fix/beta dev conflict #4668: .eas/workflows/create-beta-builds.yml ワークフローファイルの削除が、このPRで追加されたファイルと直接的に競合する
  • canary <- devのコンフリクト解消 #4685: app.json ファイルの削除と app.config.ts への移行が、このPRで app.json に加えられた編集と直接関連している

Suggested labels

android

Poem

🐰 ワークフローはさようなら、
JSON から TypeScript へ飛び立つ設定
バージョン自動化の重荷を手放して
シンプルで軽い未来へ
リモート管理で自由に歩む 🌟

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed プルリクエストのタイトルは、EASプロジェクトの統一化とビルド機能の改善という主要な変更内容を明確に要約しており、変更内容と密接に関連しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@android/gradle.properties`:
- Around line 71-74: This file contains plaintext keystore credentials and an
absolute keystore path (TRAINLCD_UPLOAD_STORE_FILE,
TRAINLCD_UPLOAD_STORE_PASSWORD, TRAINLCD_UPLOAD_KEY_ALIAS,
TRAINLCD_UPLOAD_KEY_PASSWORD) that must be removed from the repo; delete these
entries from android/gradle.properties, rotate the exposed keystore/passwords
immediately, and replace them with injected secrets (use EAS Secrets, CI
environment variables, or a local ~/.gradle/gradle.properties for developers)
and a relative or CI-provided path for the keystore; also ensure any leaked
values are purged from history (or follow your secret-removal process) and
update build scripts to read these values from the chosen secret source.

@TinyKitten
TinyKitten force-pushed the fix/unify-eas-projects branch from b04724e to 3766a9f Compare January 26, 2026 12:42
@TrainLCD TrainLCD deleted a comment from coderabbitai Bot Jan 26, 2026
@github-actions github-actions Bot removed the android label Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant