chore: slack rc mjs cleanup#28490
Conversation
Replace BITRISE_PIPELINE_URL with BUILD_PIPELINE_URL and handle missing Android public URL gracefully by linking to the CI pipeline run instead of hard-failing. Made-with: Cursor
Add scripts/get-build-metadata.sh as the single source of truth for reading android_version_code, ios_version_code, and semantic_version from the repo tree. All three consumers now call this script: - build.yml (emit-build-metadata job) - build-rc-auto.yml (post-rc-build-comment job) - build-rc-create.yml (post-slack-notification job) Both iOS and Android build numbers are now passed through to the PR comment and Slack notification scripts, replacing the previous single BUILD_NUMBER. Bitrise references in slack-rc-notification.mjs are replaced with BUILD_PIPELINE_URL. Made-with: Cursor
Made-with: Cursor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These are purely CI/release notification infrastructure changes with zero impact on app code, user flows, E2E test infrastructure, or performance. No E2E tests need to run for this change. Performance Test Selection: |
|



Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: small, isolated changes to a notification script that only affect Slack message metadata and optional links based on environment variables.
Overview
Updates
scripts/slack-rc-notification.mjsto standardize environment inputs: it now requires explicitIOS_BUILD_NUMBER/ANDROID_BUILD_NUMBER(no fallback toBUILD_NUMBER) and only usesBUILD_PIPELINE_URL(dropsBITRISE_PIPELINE_URL).Renames the message option from
bitriseUrltopipelineUrlso the Slack payload construction matches the updated pipeline URL source.Reviewed by Cursor Bugbot for commit b57d338. Bugbot is set up for automated code reviews on this repo. Configure here.