Skip to content

fix: mismatch identifier for update version script#42

Merged
sirily11 merged 1 commit into
mainfrom
ci-fix
May 21, 2026
Merged

fix: mismatch identifier for update version script#42
sirily11 merged 1 commit into
mainfrom
ci-fix

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2026 10:52
@sirily11 sirily11 enabled auto-merge (squash) May 21, 2026 10:52
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxcode Ready Ready Preview, Comment May 21, 2026 10:52am

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI version-bumping script to correctly target the RxCode app’s bundle identifier and adjust the Xcode project’s MARKETING_VERSION accordingly.

Changes:

  • Add an explicit BUNDLE_IDENTIFIER and use it when updating MARKETING_VERSION.
  • Rewrite the awk logic to update within full buildSettings blocks rather than relying on adjacent-line assumptions.
  • Update MARKETING_VERSION values in the Xcode project for Debug/Release configurations.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/ci/update-version.sh Targets the correct bundle identifier and updates MARKETING_VERSION by parsing full build settings blocks.
RxCode.xcodeproj/project.pbxproj Updates the app target’s MARKETING_VERSION values (Debug/Release).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

echo "Updating MARKETING_VERSION to $VERSION in $PROJECT_FILE for $BUNDLE_IDENTIFIER"

# Create a temporary file
TMP_FILE=$(mktemp)
Comment on lines +62 to +69
END {
if (in_build_settings) {
printf "%s", block
}
if (updated_count == 0) {
exit 1
}
}
@sirily11 sirily11 merged commit dcd808e into main May 21, 2026
11 checks passed
@sirily11 sirily11 deleted the ci-fix branch May 21, 2026 10:55
@sirily11
Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.9.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants