Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updated header import paths #30

Merged
merged 6 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Contentstack iOS Delivery SDK Release

on:
push:
branches:
- main

jobs:
release:
name: Release Contentstack iOS Delivery SDK Release
runs-on: macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode.app && /usr/bin/xcodebuild -version

- name: Install dependencies
run: |
pod install --repo-update

- name: Build
run: |
# Add commands to build and test your package
xcodebuild -workspace Contentstack.xcworkspace -scheme 'Contentstack' -destination 'platform=iOS Simulator,name=iPhone 13 Pro'

- name: Tag release
id: tag
run: |
git tag v3.12.2 # Replace with your desired version number
echo "::set-output name=tag::v3.12.2" # Replace with the same version number as above

- name: Push tag
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.tag.outputs.tag }}

- name: CocoaPods trunk push
run: pod trunk push
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/sca-scan.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Contentstack.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Contentstack'
s.version = '3.12.1'
s.version = '3.12.2'
s.summary = 'Contentstack is a headless CMS with an API-first approach that puts content at the centre.'

s.description = <<-DESC
Expand All @@ -12,7 +12,7 @@ s.homepage = 'https://www.contentstack.com/'
s.license = { :type => 'Commercial',:text => 'See https://www.contentstack.com/'}
s.author = { 'Contentstack' => 'support@contentstack.io' }

s.source = { :git => 'https://github.com/contentstack/contentstack-ios.git', :tag => 'v3.12.1' }
s.source = { :git => 'https://github.com/contentstack/contentstack-ios.git', :tag => 'v3.12.2' }
s.social_media_url = 'https://twitter.com/Contentstack'

s.ios.deployment_target = '11.0'
Expand Down
2 changes: 1 addition & 1 deletion Contentstack/Asset.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "Asset.h"
#import "Stack.h"
#import <Contentstack/Stack.h>
#import "CSIOInternalHeaders.h"
#import "CSIOConstants.h"
#import "CSIOAPIURLs.h"
Expand Down
2 changes: 1 addition & 1 deletion Contentstack/Config.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Contentstack. All rights reserved.
//

#import "Config.h"
#import <Contentstack/Config.h>
#import "CSIOConstants.h"
#import "NSObject+Extensions.h"
@implementation Config
Expand Down
2 changes: 1 addition & 1 deletion Contentstack/ContentType.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#import "CSIOCoreHTTPNetworking.h"
#import "CSIOAPIURLs.h"
#import "NSObject+Extensions.h"
#import "Stack.h"
#import <Contentstack/Stack.h>
#import "Query.h"
#import "Entry.h"
#import "Asset.h"
Expand Down
2 changes: 1 addition & 1 deletion Contentstack/Contentstack.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "Contentstack.h"
#import "CSIOInternalHeaders.h"
#import "Stack.h"
#import <Contentstack/Stack.h>

@interface Contentstack ()
@end
Expand Down
2 changes: 1 addition & 1 deletion Contentstack/Stack.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 Contentstack. All rights reserved.
//

#import "Stack.h"
#import <Contentstack/Stack.h>
#import "CSIOInternalHeaders.h"
#import "CSIOConstants.h"
#import "CSIOCoreHTTPNetworking.h"
Expand Down
2 changes: 1 addition & 1 deletion ContentstackInternal/CSIOCoreHTTPNetworking.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import "CSIOInternalHeaders.h"
#import "CSIOConstants.h"
#import "CSIOAPIURLs.h"
#import "Stack.h"
#import <Contentstack/Stack.h>
#import "CSIOURLCache.h"
#import "NSObject+Extensions.h"
#import "CSURLSessionManager.h"
Expand Down
4 changes: 2 additions & 2 deletions ContentstackInternal/CSIOInternalHeaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "CSIOCoreNetworkingProtocol.h"
#import "Contentstack.h"
#import "SyncStack.h"
#import "Stack.h"
#import <Contentstack/Stack.h>
#import "Query.h"
#import "ContentType.h"
#import "Entry.h"
Expand All @@ -18,7 +18,7 @@
#import "ISO8601DateFormatter.h"
#import "Common.h"
#import "CSIOConstants.h"
#import "Config.h"
#import <Contentstack/Config.h>
#import "AssetLibrary.h"
#import "Group.h"
#import "CSError.h"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2012-2023 Contentstack
Copyright (c) 2012-2024 Contentstack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PODFILE CHECKSUM: e70b33906e829ccd2b052bc0e0cff91ee8ee49e6

COCOAPODS: 1.13.0
COCOAPODS: 1.15.0
Loading