Skip to content

feat: add workflow dispatch for release creation#191

Merged
kieran-osgood-shopify merged 1 commit into
mainfrom
kieran-osgood/05-22-feataddworkflowdispatchforreleasecreation
May 22, 2026
Merged

feat: add workflow dispatch for release creation#191
kieran-osgood-shopify merged 1 commit into
mainfrom
kieran-osgood/05-22-feataddworkflowdispatchforreleasecreation

Conversation

@kieran-osgood-shopify
Copy link
Copy Markdown
Contributor

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

What?

Adds a guided Release package workflow for iOS and Android releases.

The workflow:

  • Reads the selected SDK version from checked-in source files.
  • Treats the manually entered version as a confirmation guard only.
  • Validates X.Y.Z and X.Y.Z-{alpha|beta|rc}.N formats.
  • Creates the correct tag shape:
    • iOS: X.Y.Z
    • Android: android/X.Y.Z
  • Defaults to dry-run=true and draft=true for a safe release preview/review flow.
  • Adds publish-workflow validation so direct/manual release tags must still match SDK versions before publishing.

React Native publishing has intentionally been split into the follow-up stacked PR.

How to test

Local verification run:

bash -n .github/scripts/validate-release-version
.github/scripts/validate-release-version iOS 3.8.0 3.8.0
.github/scripts/validate-release-version Android 1.0.0 android/1.0.0
/tmp/checkout-kit-bin/actionlint \
  .github/workflows/release.yml \
  .github/workflows/swift-publish.yml \
  .github/workflows/android-publish.yml

Also verified React Native is not selectable/supported in this PR's release helper.

Copy link
Copy Markdown
Contributor Author

kieran-osgood-shopify commented May 22, 2026

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

@github-actions
Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 98%
96.76% (239/247) 91.02% (142/156) 100% (64/64)

@kieran-osgood-shopify kieran-osgood-shopify marked this pull request as ready for review May 22, 2026 16:14
@kieran-osgood-shopify kieran-osgood-shopify requested a review from a team as a code owner May 22, 2026 16:14
@kieran-osgood-shopify kieran-osgood-shopify force-pushed the kieran-osgood/05-22-feataddworkflowdispatchforreleasecreation branch from a414aa9 to 5e10d4e Compare May 22, 2026 16:18
@kieran-osgood-shopify kieran-osgood-shopify merged commit 345d41c into main May 22, 2026
20 checks passed
Copy link
Copy Markdown
Contributor Author

Merge activity

@kieran-osgood-shopify kieran-osgood-shopify deleted the kieran-osgood/05-22-feataddworkflowdispatchforreleasecreation branch May 22, 2026 16:19
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.

3 participants