Skip to content

Q2618138 Add GitHub Actions for release creation and CocoaPods publishing#13

Open
denizak wants to merge 4 commits intomasterfrom
Q2618138-github-action-cocoapods
Open

Q2618138 Add GitHub Actions for release creation and CocoaPods publishing#13
denizak wants to merge 4 commits intomasterfrom
Q2618138-github-action-cocoapods

Conversation

@denizak
Copy link
Copy Markdown
Contributor

@denizak denizak commented Mar 24, 2026

Summary:

  • Add create_release.yml workflow that triggers on push to master, reads the version from CHANGELOG.md, and creates a GitHub Release (matching the Android SDK's workflow pattern)
  • Add publish_cocoapods.yml workflow that triggers on release published, validates podspec version matches the release tag, then runs pod trunk push with pinned CocoaPods v1.16.2 (matching KEP pipeline
    behavior)
  • SPM publishing requires no separate workflow — the git tag created by the release workflow is sufficient since Package.swift already uses CDN-hosted binary targets. klarna-mobile-sdk-spm repo can be
    deprecated.

Test plan:

  • Add COCOAPODS_TRUNK_TOKEN as a repository secret
  • Merge to master and verify create_release.yml runs (release already exists for 2.11.1, action updates it harmlessly)
  • On next release: verify GitHub Release is created with correct tag
  • Verify publish_cocoapods.yml triggers and publishes the pod successfully

@denizak denizak requested a review from a team as a code owner March 24, 2026 14:14
deni zakya added 3 commits March 24, 2026 15:42
…ocoaPods to v1.16.2 to match internal KEP pipeline

  - Add pod trunk me step to verify authentication before publishing
  - Remove --allow-warnings flag to match KEP pipeline's strict validation
  - Remove redundant lint step since pod trunk push already validates
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