Skip to content

Commit

Permalink
Prepare 2.2.0 (#223)
Browse files Browse the repository at this point in the history
* Bump version to 2.2.0

* Prepare 2.2.0 for release

* Add automated pr release creation

* Fix pr creation
  • Loading branch information
Daniel authored Jun 19, 2020
1 parent 039fc8f commit e02de2e
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
brew 'swiftlint'
brew 'sonar-scanner'
brew 'github/gh/gh'
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Please track any of your changes in the *Unreleased* section so they can be move

Add your changes here.

## [2.2.0] - 2020-06-17

- Swift package support ([#221](https://github.com/airsidemobile/JOSESwift/pull/221)) via [@rogermadsen](https://github.com/rogermadsen)
- Added JWK thumbprint computation ([#220](https://github.com/airsidemobile/JOSESwift/pull/220)) via [@Torsph](https://github.com/Torsph)

## [2.1.0] - 2020-02-24

- Deprecated old encrypter and decrypter APIs ([#216](https://github.com/airsidemobile/JOSESwift/pull/216)) via [@daniel-mohemian](https://github.com/daniel-mohemian)
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "JOSESwift"
s.version = "2.1.0"
s.version = "2.2.0"
s.license = "Apache License, Version 2.0"
s.summary = "JOSE framework for Swift"
s.authors = { "Daniel Egger" => "[email protected]", "Carol Capek" => "[email protected]", "Christoph Gigi Fuchs" => "[email protected]" }
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Support/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>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
13 changes: 13 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ lane :prepare do |options|
UI.important "#{branch_name} has been pushed and a pull request created"
end

desc "Create a release pull request to master"
lane :release_pr do
unless system("which gh > /dev/null 2>&1")
next
end

gh_command = "gh pr create"\
" --title 'Prepare #{get_version_number(target: "JOSESwift")}'"\
" --body 'This pull request was autogenerated by fastlane. :robot: :rocket:'"

system(gh_command)
end

desc "Create a release by tagging and pushing to CocoaPods trunk"
lane :release do
# Ensure we release from master
Expand Down

0 comments on commit e02de2e

Please sign in to comment.