Repository navigation
リリースPR向けバージョンバンプワークフローを追加し、canary向けワークフローをリネーム - #5320
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Contributor
📝 WalkthroughWalkthroughリリース用ブランチ名( Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GitHub
participant Actions as GitHub Actions
participant Script as Version Resolver
participant Creator as Create PR Action
User->>GitHub: Open PR from release/v* branch
GitHub->>Actions: Trigger workflow
Actions->>Actions: Checkout & setup pnpm/Node
Actions->>Script: Extract & resolve target version from branch name
Script-->>Actions: Return status (invalid/older/same/ok) and target/current/resolved
alt status == ok
Actions->>Actions: Run version:bump script (updates package/build numbers)
Actions->>Creator: Create version-bump PR (branch on head, labels)
Creator-->>GitHub: PR created
GitHub->>User: Notifies PR ready to merge
else status in invalid/older/same
Actions->>GitHub: Post comment on original PR (error/status)
GitHub->>User: Comment visible on PR
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/bump_version_on_release_pr.yml:
- Around line 85-93: When cmp === 0 and majors match the code currently builds
resolved using tMinor which can regress the minor version; change the resolution
to preserve the current minor (cMinor) instead of using tMinor so resolved
becomes tMajor + '.' + cMinor + '.' + (cPatch + 1). Update the logic around the
resolved variable in the same cmp === 0 branch (references: cmp, hasPatch,
tMajor, tMinor, cMinor, cPatch, resolved, target) so unspecified parts of the
version keep the current values rather than adopting target's minor.
- Around line 11-34: Replace all double-quoted YAML string literals with single
quotes to match .editorconfig rules: change env: TZ: "Asia/Tokyo" to TZ:
'Asia/Tokyo', change cache: "pnpm" to cache: 'pnpm', and any other double-quoted
strings such as the startsWith pattern (e.g., 'release/v') so all string values
use single quotes consistently; update the bump-version job block (look for keys
env/TZ, with/cache, and the startsWith condition) accordingly.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/bump_version_on_release_pr.yml:
- Around line 125-149: The PR notes that Fastlane lanes are out of sync with the
Node.js bump script: update ios/fastlane/Fastfile's bump_version lane so it
updates both CURRENT_PROJECT_VERSION and MARKETING_VERSION using the same
computed version (or call the existing scripts/bump-version.js and pass the
resolved version), and modify android/fastlane/Fastfile's bump_version lane to
stop using a hard-coded "+10" increment and instead compute/apply the semantic
version produced by the Node script (or accept the resolved version via
environment/parameter), ensuring both lanes use the same source of truth as the
pnpm run version:bump workflow.
Merged
6 tasks done
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.
Co-Authored-By: Claude Opus 4.6 [email protected]
Summary by CodeRabbit
新機能
ドキュメント