File tree Expand file tree Collapse file tree 12 files changed +56
-25
lines changed
Expand file tree Collapse file tree 12 files changed +56
-25
lines changed Original file line number Diff line number Diff line change 1+ name : Contentstack iOS Delivery SDK Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ release :
10+ name : Release Contentstack iOS Delivery SDK Release
11+ runs-on : macos-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+
17+ - name : Select Xcode
18+ run : sudo xcode-select -switch /Applications/Xcode.app && /usr/bin/xcodebuild -version
19+
20+ - name : Install dependencies
21+ run : |
22+ pod install --repo-update
23+
24+ - name : Build
25+ run : |
26+ # Add commands to build and test your package
27+ xcodebuild -workspace Contentstack.xcworkspace -scheme 'Contentstack' -destination 'platform=iOS Simulator,name=iPhone 13 Pro'
28+
29+ - name : Tag release
30+ id : tag
31+ run : |
32+ git tag v3.12.2 # Replace with your desired version number
33+ echo "::set-output name=tag::v3.12.2" # Replace with the same version number as above
34+
35+ - name : Push tag
36+ uses : ad-m/github-push-action@v0.6.0
37+ with :
38+ github_token : ${{ secrets.GITHUB_TOKEN }}
39+ tag : ${{ steps.tag.outputs.tag }}
40+
41+ - name : CocoaPods trunk push
42+ run : pod trunk push
43+ env :
44+ COCOAPODS_TRUNK_TOKEN : ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22s . name = 'Contentstack'
3- s . version = '3.12.1 '
3+ s . version = '3.12.2 '
44s . summary = 'Contentstack is a headless CMS with an API-first approach that puts content at the centre.'
55
66s . description = <<-DESC
@@ -12,7 +12,7 @@ s.homepage = 'https://www.contentstack.com/'
1212s . license = { :type => 'Commercial' , :text => 'See https://www.contentstack.com/' }
1313s . author = { 'Contentstack' => 'support@contentstack.io' }
1414
15- s . source = { :git => 'https://github.com/contentstack/contentstack-ios.git' , :tag => 'v3.12.1 ' }
15+ s . source = { :git => 'https://github.com/contentstack/contentstack-ios.git' , :tag => 'v3.12.2 ' }
1616s . social_media_url = 'https://twitter.com/Contentstack'
1717
1818s . ios . deployment_target = '11.0'
Original file line number Diff line number Diff line change 77//
88
99#import " Asset.h"
10- #import " Stack.h"
10+ #import < Contentstack/ Stack.h>
1111#import " CSIOInternalHeaders.h"
1212#import " CSIOConstants.h"
1313#import " CSIOAPIURLs.h"
Original file line number Diff line number Diff line change 66// Copyright © 2016 Contentstack. All rights reserved.
77//
88
9- #import " Config.h"
9+ #import < Contentstack/ Config.h>
1010#import " CSIOConstants.h"
1111#import " NSObject+Extensions.h"
1212@implementation Config
Original file line number Diff line number Diff line change 1212#import " CSIOCoreHTTPNetworking.h"
1313#import " CSIOAPIURLs.h"
1414#import " NSObject+Extensions.h"
15- #import " Stack.h"
15+ #import < Contentstack/ Stack.h>
1616#import " Query.h"
1717#import " Entry.h"
1818#import " Asset.h"
Original file line number Diff line number Diff line change 88
99#import " Contentstack.h"
1010#import " CSIOInternalHeaders.h"
11- #import " Stack.h"
11+ #import < Contentstack/ Stack.h>
1212
1313@interface Contentstack ()
1414@end
Original file line number Diff line number Diff line change 66// Copyright (c) 2015 Contentstack. All rights reserved.
77//
88
9- #import " Stack.h"
9+ #import < Contentstack/ Stack.h>
1010#import " CSIOInternalHeaders.h"
1111#import " CSIOConstants.h"
1212#import " CSIOCoreHTTPNetworking.h"
Original file line number Diff line number Diff line change 1010#import " CSIOInternalHeaders.h"
1111#import " CSIOConstants.h"
1212#import " CSIOAPIURLs.h"
13- #import " Stack.h"
13+ #import < Contentstack/ Stack.h>
1414#import " CSIOURLCache.h"
1515#import " NSObject+Extensions.h"
1616#import " CSURLSessionManager.h"
Original file line number Diff line number Diff line change 99#import " CSIOCoreNetworkingProtocol.h"
1010#import " Contentstack.h"
1111#import " SyncStack.h"
12- #import " Stack.h"
12+ #import < Contentstack/ Stack.h>
1313#import " Query.h"
1414#import " ContentType.h"
1515#import " Entry.h"
1818#import " ISO8601DateFormatter.h"
1919#import " Common.h"
2020#import " CSIOConstants.h"
21- #import " Config.h"
21+ #import < Contentstack/ Config.h>
2222#import " AssetLibrary.h"
2323#import " Group.h"
2424#import " CSError.h"
You can’t perform that action at this time.
0 commit comments