Skip to content

Commit 10dd628

Browse files
authored
Merge pull request #30 from contentstack/fix/CS-44272-same-header-import-issue
fix: updated header import paths
2 parents 6b87e7a + 228f714 commit 10dd628

File tree

12 files changed

+56
-25
lines changed

12 files changed

+56
-25
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 }}

.github/workflows/sca-scan.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

Contentstack.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Contentstack'
3-
s.version = '3.12.1'
3+
s.version = '3.12.2'
44
s.summary = 'Contentstack is a headless CMS with an API-first approach that puts content at the centre.'
55

66
s.description = <<-DESC
@@ -12,7 +12,7 @@ s.homepage = 'https://www.contentstack.com/'
1212
s.license = { :type => 'Commercial',:text => 'See https://www.contentstack.com/'}
1313
s.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' }
1616
s.social_media_url = 'https://twitter.com/Contentstack'
1717

1818
s.ios.deployment_target = '11.0'

Contentstack/Asset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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"

Contentstack/Config.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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

Contentstack/ContentType.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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"

Contentstack/Contentstack.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "Contentstack.h"
1010
#import "CSIOInternalHeaders.h"
11-
#import "Stack.h"
11+
#import <Contentstack/Stack.h>
1212

1313
@interface Contentstack ()
1414
@end

Contentstack/Stack.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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"

ContentstackInternal/CSIOCoreHTTPNetworking.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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"

ContentstackInternal/CSIOInternalHeaders.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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"
@@ -18,7 +18,7 @@
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"

0 commit comments

Comments
 (0)