Skip to content

ci: tag releases for Swift Package Manager - #9

Merged
lemarier merged 1 commit into
mainfrom
lemarier/publish-a-swift-compatible-ui-package-version
Sep 24, 2026
Merged

lemarier merged 1 commit into
mainfrom
lemarier/publish-a-swift-compatible-ui-package-version

Conversation

@lemarier

@lemarier lemarier commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Swift Package Manager only resolves semantic-version tags, and this repository only had @origin89/ui-react@<version> tags, so the README's 0.1.0 Swift requirement could not resolve. After a successful npm publish, publish-react.yml now adds a lightweight <version> tag (for example 0.2.0) at the released commit. That commit has already passed the Swift, iOS Simulator and Android jobs. The job fails instead of moving an existing tag that points elsewhere. The Swift version follows the React package version.

The README now points Swift consumers at an exact version and React consumers at npm; it also drops the v0.1.0 GitHub release reference, since that release does not exist. The existing 0.2.0 release at eeae8ac got a one-time backfilled 0.2.0 tag, pushed separately; a clean package depending on exact: "0.2.0" resolves that revision and builds on macOS. The inaccurate Android release-asset claim is tracked in #8.

Validation: biome ci . passes; the workflow YAML parses; gh api .../git/ref/tags/0.2.0 returned 404 and exited non-zero before the backfill, so the job takes the create branch. The new job has not run in Actions yet.

Closes #7

Copilot AI lite review requested due to automatic review settings September 24, 2026 12:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: QUIET

Plan: Advanced

Run ID: 3d6c13d3-17cd-459d-9fd7-860d260109c3

📥 Commits

Reviewing files that changed from the base of the PR and between eeae8ac and e57a69e.

📒 Files selected for processing (3)
  • .github/workflows/publish-react.yml
  • README.md
  • docs/releases.md

Comment @coderabbitai help to get the list of available commands.

@lemarier
lemarier merged commit eca5951 into main Sep 24, 2026
3 of 4 checks passed
@lemarier
lemarier deleted the lemarier/publish-a-swift-compatible-ui-package-version branch September 24, 2026 12:39
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.

Publish a Swift-compatible UI package version

2 participants