We use semantic versioning, and release the SDK through both CocoaPods and Carthage. Here are the basic steps for releasing SDK:
-
Open
Sift/Sift.m
and update_sdkVersion
property. -
Update
spec.version
ofSift.podspec
. -
Update
CHANGELOG.md
(it's time for you to review changes since last release and write up a summary). -
(Optional) Update
spec.public_header_files
orspec.ios.frameworks
ofSift.podspec
(if you have new public headers or depend on new frameworks). -
Create a git tag for the release.
-
If you make the release in a private git repository, go to
sift-ios
and pull the changes from your private repository.
You will need to update HelloSift
app to the new release:
-
Enter
HelloSift
directory. -
Update
Cartfile
to the new version. -
Run
carthage update
. -
Check in changes to
Cartfile
andCartfile.resolved
file.
You may test a release candidate with HelloSift
:
-
Enter
HelloSift
directory. -
Change contents of
Cartfile
to something like:github "SiftScience/sift-ios" "master"
-
Run
carthage update
(but don't commit changes toCartfile
andCartfile.resolved
file).