Skip to content

[RN][CI] add React Native release publishing flow#192

Draft
kieran-osgood-shopify wants to merge 3 commits into
kieran-osgood/05-28-feataddcisafetynetforaccidentallocalpodspecversionsfrom
kieran-osgood/release-workflow/react-native-publish
Draft

[RN][CI] add React Native release publishing flow#192
kieran-osgood-shopify wants to merge 3 commits into
kieran-osgood/05-28-feataddcisafetynetforaccidentallocalpodspecversionsfrom
kieran-osgood/release-workflow/react-native-publish

Conversation

@kieran-osgood-shopify
Copy link
Copy Markdown
Contributor

@kieran-osgood-shopify kieran-osgood-shopify commented May 22, 2026

Stack Context

This is a follow-up stacked on the iOS/Android release workflow PR from Friday

What?

  • Adds React Native to workflow_dispatch for releases
    • Performs validation on the semver tag compared to package json
    • Creates a react-native/X.Y.Z tag
    • Builds and Publishes that tag
  • Updates the RN podspec source tag to use the react-native/ namespace.
  • Changed workflow dispatch to avoid confusion between draft and dry-run settings
Before After
image image

I also fixed some output on the release plan
image

Other

In order to produce react-native 4.0.0-alpha.1 I needed to update podspec and gradle to point to the swift/android 4.0.0-alpha.1 versions published last week

We have this awkward process for gradle, where the android sdk has to build and publish to mavenLocal for local dev, this is gated behind the USE_LOCAL_SDK flag

This could fail silently if mavenLocal didn't have a 4.0.0-alpha.1 version, so I added an exclusiveContent filter which ensures the checkout-kit library, when the USE_LOCAL_SDK flag is true, will fail to build, ensuring we don't accidentally false positive test against a published SDK in maven.

 if (useLocalSdk) {
    exclusiveContent {
      forRepository {
        mavenLocal()
      }
      filter {
        includeModule("com.shopify", "checkout-kit")
      }
    }
  }

Copy link
Copy Markdown
Contributor Author

kieran-osgood-shopify commented May 22, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2026

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 92%
91.59% (316/345) 87.25% (178/204) 100% (82/82)

@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from kieran-osgood/05-22-feataddworkflowdispatchforreleasecreation to graphite-base/192 May 22, 2026 16:19
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from 279a5c4 to 85a89b8 Compare May 22, 2026 16:20
@graphite-app graphite-app Bot changed the base branch from graphite-base/192 to main May 22, 2026 16:20
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from 85a89b8 to 42271d0 Compare May 22, 2026 16:20
@kieran-osgood-shopify kieran-osgood-shopify added the #gsd:50662 Rebase Checkout Kit on UCP label May 27, 2026
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from 42271d0 to 19a0381 Compare May 28, 2026 10:08

if [[ "$VERSION" == *-* ]]; then
PRERELEASE="true"
NPM_TAG="next"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this matches what the web workflow does too

@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from 1649f78 to 4d22b7f Compare May 28, 2026 11:32
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from main to graphite-base/192 May 28, 2026 12:41
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from 4d22b7f to 3cea7db Compare May 28, 2026 12:41
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from graphite-base/192 to kieran-osgood/release-workflow/rn-native-sdk-versions May 28, 2026 12:41
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/rn-native-sdk-versions branch from 700a4a1 to 6601e20 Compare May 28, 2026 12:45
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from 3cea7db to fc790ec Compare May 28, 2026 12:46
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from kieran-osgood/release-workflow/rn-native-sdk-versions to graphite-base/192 May 28, 2026 12:49
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from fc790ec to a31a93b Compare May 28, 2026 12:49
@kieran-osgood-shopify kieran-osgood-shopify changed the base branch from graphite-base/192 to kieran-osgood/05-28-feataddcisafetynetforaccidentallocalpodspecversions May 28, 2026 12:49
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from a31a93b to e6a6ab8 Compare May 28, 2026 13:05
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-28-feataddcisafetynetforaccidentallocalpodspecversions branch from 165f743 to acc13b7 Compare May 28, 2026 13:05
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-28-feataddcisafetynetforaccidentallocalpodspecversions branch from acc13b7 to d3889c9 Compare May 28, 2026 13:31
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/release-workflow/react-native-publish branch from e6a6ab8 to 0c372c3 Compare May 28, 2026 13:31
@kieran-osgood-shopify kieran-osgood-shopify changed the title feat: add React Native release publishing [RN][CI] add React Native release publishing flow May 28, 2026
@kieran-osgood-shopify kieran-osgood-shopify marked this pull request as ready for review May 28, 2026 14:06
@kieran-osgood-shopify kieran-osgood-shopify requested a review from a team as a code owner May 28, 2026 14:06
@kieran-osgood-shopify kieran-osgood-shopify marked this pull request as draft May 28, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant