Skip to content

Commit 74ece2a

Browse files
authored
Merge pull request #701 from Iterable/MOB-7322-automate-ios-sdk-release
[MOB-7322] automate ios sdk release with fastlane
2 parents 41288b6 + 6cc8509 commit 74ece2a

File tree

8 files changed

+711
-99
lines changed

8 files changed

+711
-99
lines changed

.github/workflows/ios-sdk-release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: ios-sdk-release
2+
run-name: ${{ github.actor }} is starting iOS SDK release
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
version_number:
8+
description: "iOS SDK version"
9+
required: true
10+
11+
jobs:
12+
ios-sdk-release:
13+
runs-on: macos-latest
14+
15+
steps:
16+
- name: set version number and push podspecs to git
17+
run: bundle exec fastlane ios bump_release_version version:${{ github.event.inputs.version_number }}
18+
19+
- name: clean cocaopods cache and lint
20+
run: bundle exec fastlane ios clean_and_lint
21+
22+
- name: create xcframeworks and zip
23+
run: bundle exec fastlane ios build_xcframework output_dir:./output_dir
24+
25+
- name: create github release and upload assets
26+
run: bundle exec fastlane ios tag_version version:${{ github.event.inputs.version_number }} output_dir:./output_dir
27+
28+
- name: push pods to trunk
29+
run: bundle exec fastlane ios pod_trunk_push

0 commit comments

Comments
 (0)