Skip to content

Testflight branch description#18

Merged
othmansh0 merged 4 commits into
developfrom
feature/testflight-branch-description
Jan 16, 2026
Merged

Testflight branch description#18
othmansh0 merged 4 commits into
developfrom
feature/testflight-branch-description

Conversation

@othmansh0
Copy link
Copy Markdown
Owner

Summary

Adds branch name and commit hash to TestFlight build descriptions for better traceability.

Changes

  • Pass BRANCH_NAME environment variable from GitHub Actions to Fastlane
  • Update TestFlight changelog to display branch name and short commit hash
  • Applied to both /build comment workflow and release workflow

Result

TestFlight builds will now show:
Branch: feature/my-feature
Commit: abc1234
Automated build from CI/CD pipeline

- Pass BRANCH_NAME env var from GitHub Actions to Fastlane
- Update changelog to show branch name and short commit hash
- Apply to both build-on-comment and release workflows
@othmansh0
Copy link
Copy Markdown
Owner Author

/build

…ld_info

- Set skip_waiting_for_build_processing to false (required for metadata)
- Add localized_build_info with en-US locale for What's New field
- Use both changelog and localized_build_info for maximum compatibility

Trade-off: Adds ~10-15 min to build time, but ensures description appears
@othmansh0
Copy link
Copy Markdown
Owner Author

/build

1 similar comment
@othmansh0
Copy link
Copy Markdown
Owner Author

/build

- Check if BRANCH_NAME is nil, empty, or 'unknown'
- Fallback to git rev-parse --abbrev-ref HEAD
- Same fallback for commit hash
- Add debug logging to trace values
@othmansh0
Copy link
Copy Markdown
Owner Author

/build

- Use git_branch action instead of raw shell command
- Use last_git_commit action for commit hash
- Set fetch-depth: 0 in build-on-comment.yml for full git history
- Fastlane actions handle CI env vars automatically
@othmansh0 othmansh0 merged commit 58ac971 into develop Jan 16, 2026
2 checks passed
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