We use semantic versioning, and release the SDK through both CocoaPods and Carthage. Here are the basic steps for releasing SDK:
-
Open
Sift/Sift.mand update_sdkVersionproperty. -
Update
spec.versionofSift.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_filesorspec.ios.frameworksofSift.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-iosand pull the changes from your private repository.
You will need to update HelloSift app to the new release:
-
Enter
HelloSiftdirectory. -
Update
Cartfileto the new version. -
Run
carthage update. -
Check in changes to
CartfileandCartfile.resolvedfile.
You may test a release candidate with HelloSift:
-
Enter
HelloSiftdirectory. -
Change contents of
Cartfileto something like:github "SiftScience/sift-ios" "master" -
Run
carthage update(but don't commit changes toCartfileandCartfile.resolvedfile).