Skip to content

Commit

Permalink
Prepare for release 4.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Sneed committed Jun 18, 2020
1 parent 247db49 commit b94d933
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Analytics.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Analytics"
s.version = "4.0.0-beta.2"
s.version = "4.0.1"
s.summary = "The hassle-free way to add analytics to your iOS app."

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Analytics/Classes/SEGAnalytics.m
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ + (NSString *)version
{
// this has to match the actual version, NOT what's in info.plist
// because Apple only accepts X.X.X as versions in the review process.
return @"4.0.0";
return @"4.0.1";
}

#pragma mark - Helpers
Expand Down
2 changes: 1 addition & 1 deletion Analytics/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.0.0</string>
<string>4.0.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Change Log
==========

Version 4.0.1 (18 June, 2020)
-----------------------------
* [New](https://github.com/segmentio/analytics-ios/pull/905) Added global state management; Middleware now receive all context data.
* [New](https://github.com/segmentio/analytics-ios/pull/885) change logic for screen naming conventions.
* [New](https://github.com/segmentio/analytics-ios/pull/899) Fixed crash on UISceneDelegate applications.
* [New](https://github.com/segmentio/analytics-ios/pull/896) Renamed middleware methods to match a.js naming.
* [New](https://github.com/segmentio/analytics-ios/pull/904) Added Swift Package Manager support.
* [New](https://github.com/segmentio/analytics-ios/pull/902) Updated class names for Swift.

Version 4.0.0-beta.1 *(21st May, 2020)*
---------------------------------------
* [New](https://github.com/segmentio/analytics-ios/pull/892) Makes IDFA support externally/customer driven.
Expand Down
2 changes: 1 addition & 1 deletion Examples/CarthageExample/Cartfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "segmentio/analytics-ios" "4.0.0-beta.1"
github "segmentio/analytics-ios" "4.0.1"
# Use a local project when debugging
# git "~/Code/segmentio/analytics-ios/" "master"
3 changes: 1 addition & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
Releasing
=========

1. Update the version in `SEGAnalytics.m`, `Analytics.podspec` and `Analytics/Info.plist` to the next release version.
1. Update the version in `SEGAnalytics.m`, `Analytics.podspec`, `Analytics/Info.plist` and `Examples/CarthageExample/Cartfile` to the next release version.
2. Update the `CHANGELOG.md` for the impending release.
3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version).
4. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version).
5. `git push && git push --tags`.
6. `pod trunk push Analytics.podspec`.
7. Next we'll create a dynamic framework for manual installation leveraging Carthage.
* `cd Examples/CarthageExample`.
* Update `Cartfile` first line to the correct tag `X.Y.Z` that just got pushed to Github.
* `make clean` to be safe then `make build`.
* Zip `Carthage/Builds/iOS/Analytics.framework` and `Carthage/Builds/iOS/Analytics.dSYM` into `Archive.zip`.
8. Next, we'll create a Carthage build by running `make archive`.
Expand Down

0 comments on commit b94d933

Please sign in to comment.