From 30ee148136e28135a73e997ab580d2c6fdf59739 Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Wed, 15 Feb 2017 12:29:20 +0100 Subject: [PATCH] Bump version to 2.1.1 --- .swiftlint.yml | 1 + Examples/MacExample/Podfile.lock | 4 ++-- Examples/ObjCExample/Podfile.lock | 4 ++-- Examples/SwiftExample/Podfile.lock | 4 ++-- Examples/SwiftTVOSExample/Podfile.lock | 4 ++-- Examples/SwiftWatchOSExample/Podfile.lock | 4 ++-- Makefile | 17 +++++++++++-- Sentry.podspec | 2 +- Sentry/Info.plist | 2 +- Sources/Sentry.swift | 2 +- docs/sentry-doc-config.json | 2 +- fastlane/README.md | 29 ++++++++++++++++++++--- release-checklist.md | 9 +------ 13 files changed, 57 insertions(+), 27 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index e526462116..6833326e76 100755 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -4,6 +4,7 @@ excluded: - iOS - Carthage - Pods + - Utils whitelist_rules: #- attributes - class_delegate_protocol diff --git a/Examples/MacExample/Podfile.lock b/Examples/MacExample/Podfile.lock index c8916e3b85..9dce02264a 100644 --- a/Examples/MacExample/Podfile.lock +++ b/Examples/MacExample/Podfile.lock @@ -62,7 +62,7 @@ PODS: - KSCrash/Reporting/Tools - KSCrash/Reporting/Tools (1.15.3): - KSCrash/Recording - - Sentry (2.1.0): + - Sentry (2.1.1): - KSCrash (~> 1.15.3) DEPENDENCIES: @@ -74,7 +74,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: KSCrash: f344875321256d5906569a0853d73c6354a9f6f4 - Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d + Sentry: 2a7843e59ec38c43bb7270beba0a5eac12c4f6a2 PODFILE CHECKSUM: 9a6feca63fe6ed3706b2808f4c85dae0861ba9d2 diff --git a/Examples/ObjCExample/Podfile.lock b/Examples/ObjCExample/Podfile.lock index e4aea73dae..4b0ac516f8 100644 --- a/Examples/ObjCExample/Podfile.lock +++ b/Examples/ObjCExample/Podfile.lock @@ -62,7 +62,7 @@ PODS: - KSCrash/Reporting/Tools - KSCrash/Reporting/Tools (1.15.3): - KSCrash/Recording - - Sentry (2.1.0): + - Sentry (2.1.1): - KSCrash (~> 1.15.3) DEPENDENCIES: @@ -74,7 +74,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: KSCrash: f344875321256d5906569a0853d73c6354a9f6f4 - Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d + Sentry: 2a7843e59ec38c43bb7270beba0a5eac12c4f6a2 PODFILE CHECKSUM: 6e920273a2258e01d891dd3561ac2a73612fe34a diff --git a/Examples/SwiftExample/Podfile.lock b/Examples/SwiftExample/Podfile.lock index 6ba5c8b2e6..937dcbc70d 100644 --- a/Examples/SwiftExample/Podfile.lock +++ b/Examples/SwiftExample/Podfile.lock @@ -62,7 +62,7 @@ PODS: - KSCrash/Reporting/Tools - KSCrash/Reporting/Tools (1.15.3): - KSCrash/Recording - - Sentry (2.1.0): + - Sentry (2.1.1): - KSCrash (~> 1.15.3) DEPENDENCIES: @@ -74,7 +74,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: KSCrash: f344875321256d5906569a0853d73c6354a9f6f4 - Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d + Sentry: 2a7843e59ec38c43bb7270beba0a5eac12c4f6a2 PODFILE CHECKSUM: 699517be0d67a415d70bbce5f2d55f918605fcbc diff --git a/Examples/SwiftTVOSExample/Podfile.lock b/Examples/SwiftTVOSExample/Podfile.lock index 4a421cf32b..ea0fcded76 100644 --- a/Examples/SwiftTVOSExample/Podfile.lock +++ b/Examples/SwiftTVOSExample/Podfile.lock @@ -62,7 +62,7 @@ PODS: - KSCrash/Reporting/Tools - KSCrash/Reporting/Tools (1.15.3): - KSCrash/Recording - - Sentry (2.1.0): + - Sentry (2.1.1): - KSCrash (~> 1.15.3) DEPENDENCIES: @@ -74,7 +74,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: KSCrash: f344875321256d5906569a0853d73c6354a9f6f4 - Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d + Sentry: 2a7843e59ec38c43bb7270beba0a5eac12c4f6a2 PODFILE CHECKSUM: 6a149bade470704ba4317901492b58978f603305 diff --git a/Examples/SwiftWatchOSExample/Podfile.lock b/Examples/SwiftWatchOSExample/Podfile.lock index 915427a4b0..2d362c7bd2 100644 --- a/Examples/SwiftWatchOSExample/Podfile.lock +++ b/Examples/SwiftWatchOSExample/Podfile.lock @@ -62,7 +62,7 @@ PODS: - KSCrash/Reporting/Tools - KSCrash/Reporting/Tools (1.15.3): - KSCrash/Recording - - Sentry (2.1.0): + - Sentry (2.1.1): - KSCrash (~> 1.15.3) DEPENDENCIES: @@ -74,7 +74,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: KSCrash: f344875321256d5906569a0853d73c6354a9f6f4 - Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d + Sentry: 2a7843e59ec38c43bb7270beba0a5eac12c4f6a2 PODFILE CHECKSUM: c9a2358b4bf5bf7e6f601eb701b288f4e4bd724a diff --git a/Makefile b/Makefile index c6d2284591..78827edcd4 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,14 @@ lint: test: @echo "--> Running all tests" - fastlane test + fastlane test --silent build-carthage: @echo "--> Creating Sentry framework package with carthage" carthage build --no-skip-current carthage archive Sentry -release: lint test pod-example-projects pod-lint build-carthage +release: bump-version lint test pod-example-projects pod-lint build-carthage git-commit-add build-time: @echo "--> Analysing build time" @@ -34,3 +34,16 @@ pod-example-projects: pod-release: @echo "--> Releasing Pod" pod trunk push Sentry.podspec --allow-warnings + +build-version-bump: + @echo "--> Building VersionBump" + cd Utils/VersionBump && rm -rf .build && swift build + +bump-version: build-version-bump + @echo "--> Bumping version from ${FROM} to ${TO}" + ./Utils/VersionBump/.build/debug/VersionBump ${FROM} ${TO} + +git-commit-add: + @echo "\n\n\n--> Commting git ${TO}" + git commit -am "Bump version to ${TO}" + git tag ${TO} diff --git a/Sentry.podspec b/Sentry.podspec index 595d281c21..13d1b05897 100644 --- a/Sentry.podspec +++ b/Sentry.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Sentry" - s.version = "2.1.0" + s.version = "2.1.1" s.summary = "Swift client for Sentry" s.homepage = "https://github.com/getsentry/sentry-swift" s.license = "mit" diff --git a/Sentry/Info.plist b/Sentry/Info.plist index dca568ec06..449c7b6afd 100644 --- a/Sentry/Info.plist +++ b/Sentry/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.1.0 + 2.1.1 CFBundleSignature ???? CFBundleVersion diff --git a/Sources/Sentry.swift b/Sources/Sentry.swift index 04637dbadc..6a6942bc9f 100644 --- a/Sources/Sentry.swift +++ b/Sources/Sentry.swift @@ -46,7 +46,7 @@ import KSCrash // MARK: - Enums internal struct Info { - static let version: String = "2.1.0" + static let version: String = "2.1.1" static let sentryVersion: Int = 7 } diff --git a/docs/sentry-doc-config.json b/docs/sentry-doc-config.json index 20917e91b0..d7b877df4c 100644 --- a/docs/sentry-doc-config.json +++ b/docs/sentry-doc-config.json @@ -14,6 +14,6 @@ } }, "vars": { - "SENTRY_SWIFT_TAG": "2.1.0" + "SENTRY_SWIFT_TAG": "2.1.1" } } diff --git a/fastlane/README.md b/fastlane/README.md index eb9e1a254e..1ac4742597 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -1,9 +1,32 @@ fastlane documentation ================ # Installation + +Make sure you have the latest version of the Xcode command line tools installed: + ``` -sudo gem install fastlane +xcode-select --install ``` + +## Choose your installation method: + + + + + + + + + + + + + + +
Homebrew +Installer Script +Rubygems +
macOSmacOSmacOS or Linux with Ruby 2.0.0 or above
brew cask install fastlaneDownload the zip file. Then double click on the install script (or run it in a terminal window).sudo gem install fastlane -NV
# Available Actions ### test ``` @@ -59,5 +82,5 @@ fastlane travis_slather ---- This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. -More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools). -The documentation of fastlane can be found on [https://docs.fastlane.tools](https://docs.fastlane.tools). +More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). +The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/release-checklist.md b/release-checklist.md index b3554a3cd6..1b94343b25 100644 --- a/release-checklist.md +++ b/release-checklist.md @@ -1,13 +1,6 @@ # Release Checklist - - - [ ] Bump version in podspec file - - [ ] Bump version in framework xcode targets - - [ ] Bump version in `Sentry.swift` - - [ ] Bump version in `docs/sentry-doc-config.json` - - [ ] Run `make release` - - [ ] Ensure all needed changes are checked in the master branch - - [ ] Create a version tag - [ ] Update `docs/` + - [ ] Run `make release FROM=x.x.x TO=x.x.x` - [ ] Push new podspec version to master repo `pod trunk push Sentry.podspec --allow-warnings` - [ ] Write down changes on github in releases - [ ] Upload Sentry.Framework.zip to github release