This document describes the tasks to perform for tagging and releasing a new version of the Castle SDK as well as publishing the new release to CocoaPods.
- Update the version in
Castle.m
,Castle.podspec
andREADME.md
. - Update
GeoZip.xcframwork
andHighwind.xcframework
- Update
github_file_prefix
in jazzy.yaml to point to the new release tag - Update documentation by running
scripts/generate_docs.sh
in the project root. - Update the
CHANGELOG.md
for the impending release. git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version).git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version).git push && git push --tags
.- Create a new version of
Castle.xcframework
by runningfastlane ios xcframework
In order to publish a new version to CocoaPods run the following command from the project root: pod trunk push Castle.podspec
. Make sure you've executed all the steps in the "Prepare for release" section before publishing.
- Create a new Github release at https://github.com/castle/castle-ios/releases
- Add latest version information from
CHANGELOG.md
- Add a zip archive including
Castle.xcframework
,GeoZip.xcframwork
andHighwind.xcframework
- Add latest version information from