Skip to content

Commit

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

* Update changelog

* Prepare 2.3.1 for release

* Fix release pr lane

* Automatically add reviewer to pr
  • Loading branch information
Daniel committed Dec 14, 2020
1 parent f66c7da commit 6e301dd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

Include references to issue- or pull-request numbers.

## [2.3.1] - 2020-12-14

- Stop installing SwiftLint when it's not installed (#246)

## [2.3.0] - 2020-11-11

- Add parsed JWK header parameter (#240)
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.3.0"
s.version = "2.3.1"
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.3.0</string>
<string>2.3.1</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.3.0</string>
<string>2.3.1</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
13 changes: 7 additions & 6 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,23 @@ lane :prepare do |options|
sh("git push --set-upstream origin #{branch_name}")

release_pr

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")
UI.message "Cannot create release pull request since 'gh' is not installed"
next
end

pr_body = "'This pull request was autogenerated by fastlane. :robot: :rocket:\n" \
"## Changes included in this release\n#{pr_commits}'"
pr_body = "This pull request was autogenerated by fastlane. :robot: :rocket:" \

version = get_version_number(target: "JOSESwift")

gh_command = "gh pr create"\
" --title 'Prepare #{get_version_number(target: "JOSESwift")}'"\
" --body #{pr_body}"
" --title 'Prepare #{version}'"\
" --body '#{pr_body}'"\
" --reviewer 'airsidemobile/ios'"

system(gh_command)
end
Expand Down

0 comments on commit 6e301dd

Please sign in to comment.