This is still a draft of the process, it needs verification and a test run in a clean environment to verify everything is in place.
-
Make sure travis build passed and that the coverage is at an acceptable level.
-
Choose the version number. Both CocoaPods and Carthage use a form of Semantic Versioning.
-
Go to VelocidiSDK folder.
$ cd VelocidiSDK
-
Edit the version number and increment the build number using agvtool (more info here):
-
Version number:
$ agvtool new-marketing-version <your_specific_version>
-
Build number:
$ agvtool next-version -all
-
-
Go back to the project's root folder.
$ cd ..
-
Edit the file VelocidiSDK.podspec with the chosen version number:
spec.name = ... spec.version = 0.0.1 # New version number spec.summary = ...
-
Edit the CHANGELOG.md
-
Edit the install instructions in README.md so that the example version matches the new version.
-
Commit the changes.
git commit -m "Release v0.1.0"
-
Tag the commit.
$ git tag v0.1.0 && git push --tags
-
Head over to Github Releases, select the pushed tag, and add the copy for the new release from the Changelog to the release body. Give it the title of
vX.Y.Z
and click "Publish Release". -
Deploy the library to CocoaPods.
$ pod trunk push VelocidiSDK.podspec
-
Update the version in
.jazzy.yaml
github_file_prefix: https://github.com/velocidi/velocidi-ios-objc-sdk/tree/v0.1.0 module_version: 0.1.0
-
Deploy the documentation.
$ .scripts/deploy.sh