Skip to content

Commit 6e301dd

Browse files
author
Daniel
authored
Prepare 2.3.1 (#248)
* Bump version to 2.3.1 * Update changelog * Prepare 2.3.1 for release * Fix release pr lane * Automatically add reviewer to pr
1 parent f66c7da commit 6e301dd

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
Include references to issue- or pull-request numbers.
66

7+
## [2.3.1] - 2020-12-14
8+
9+
- Stop installing SwiftLint when it's not installed (#246)
10+
711
## [2.3.0] - 2020-11-11
812

913
- Add parsed JWK header parameter (#240)

JOSESwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "JOSESwift"
3-
s.version = "2.3.0"
3+
s.version = "2.3.1"
44
s.license = "Apache License, Version 2.0"
55
s.summary = "JOSE framework for Swift"
66
s.authors = { "Daniel Egger" => "daniel.egger@airsidemobile.com", "Carol Capek" => "carol.capek@airsidemobile.com", "Christoph Gigi Fuchs" => "christoph.fuchs@airsidemobile.com" }

JOSESwift/Support/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.3.0</string>
18+
<string>2.3.1</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

Tests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.3.0</string>
18+
<string>2.3.1</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

fastlane/Fastfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,23 @@ lane :prepare do |options|
122122
sh("git push --set-upstream origin #{branch_name}")
123123

124124
release_pr
125-
126-
UI.important "#{branch_name} has been pushed and a pull request created"
127125
end
128126

129127
desc "Create a release pull request to master"
130128
lane :release_pr do
131129
unless system("which gh > /dev/null 2>&1")
130+
UI.message "Cannot create release pull request since 'gh' is not installed"
132131
next
133132
end
134133

135-
pr_body = "'This pull request was autogenerated by fastlane. :robot: :rocket:\n" \
136-
"## Changes included in this release\n#{pr_commits}'"
134+
pr_body = "This pull request was autogenerated by fastlane. :robot: :rocket:" \
135+
136+
version = get_version_number(target: "JOSESwift")
137137

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

142143
system(gh_command)
143144
end

0 commit comments

Comments
 (0)