OLCore
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS 10.0+
- Xcode 10+
- Swift 4.2
Installation
OLCore is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'OLCore'
Dependencies
Deployment
-
Make sure you have
podspec-bump
installed on your local machine. If not, you can install withnpm
.npm install -g podspec-bump
-
Checkout latest
develop
branch.git checkout develop git pull origin develop
-
Make sure you have no error or warning by execute the comment below from
core-ios
project root directory:pod lib lint
If there is an error or warning, then you need to fix it before continue to the next deployment step.
-
Create new branch from the latest
develop
to bump the version.git checkout -b chore/bump-version
-
Bump the version using
podspec-bump
.a. Major Update
podspec-bump major -w
b. Minor Update
podspec-bump minor -w
c. Patch Update
podspec-bump patch -w
-
Commit and push the changes.
git add . git commit -m 'bump version from <old-version> to <new-version>' git push origin chore/bump-version
-
Create new Pull Request from
chore/bump-version
intodevelop
branch. -
After your pull request from
Step 7
merged, you can continue to create another new pull request fromdevelop
intomaster
. -
After your pull request from
Step 8
merged, you can checkoutmaster
branch and pull the latest version.git checkout master git pull origin master
-
Create a new tag from
master
branch and the<tagname>
should follow theStep 5
's result.git tag <tagname>
-
Push your new tag.
git push origin refs/tags/<tagname>
-
Register new trunk session.
pod trunk register [email protected]
-
[email protected]
should quickly get an email from Cocoapods to verify the new session, verify the account by clicking the link provided in the email. -
Finally, release your latest version to the public cocoapods.
pod trunk push OLCore.podspec --allow-warnings
Author
NDV6, [email protected]
License
OLCore is available under the MIT license. See the LICENSE file for more info.