Skip to content

Commit 4cc56b1

Browse files
committed
Bump version to 1.4.1
1 parent e5e0b21 commit 4cc56b1

File tree

8 files changed

+24
-35
lines changed

8 files changed

+24
-35
lines changed

.jazzy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ github_url: https://github.com/polydice/ICInputAccessory
55
github_file_prefix: https://github.com/polydice/ICInputAccessory/blob/develop
66
xcodebuild_arguments: [-project, ICInputAccessory.xcodeproj, -scheme, ICInputAccessory-iOS]
77
module: ICInputAccessory
8-
module_version: 1.4.0
8+
module_version: 1.4.1
99
output: docs/output
1010
theme: fullwidth
1111
skip_undocumented: true

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v1.4.1
2+
3+
* Fix `tokenField(_:didChangeInputText:)` with the delete key [#20](https://github.com/polydice/ICInputAccessory/pull/20)
4+
5+
#### Project Updates
6+
7+
* Reenable UI tests
8+
* Combine the framework and example projects
9+
* Specify SwiftLint version via CocoaPods
10+
111
## v1.4.0
212

313
* Added delegate methods:

Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.4.0</string>
20+
<string>1.4.1</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

ICInputAccessory.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 = "ICInputAccessory"
3-
s.version = "1.4.0"
3+
s.version = "1.4.1"
44
s.summary = "A customized token text field used in the iCook app."
55
s.description = <<-DESC
66
ICKeyboardDismissTextField:

ICInputAccessory/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>1.4.0</string>
18+
<string>1.4.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

ICInputAccessoryUITests/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>1.4.0</string>
18+
<string>1.4.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ bundle-install:
1111
pod-install:
1212
bundle exec pod install
1313

14+
bump:
15+
ifeq (,$(strip $(version)))
16+
# Usage: make bump version=<number>
17+
else
18+
ruby -pi -e "gsub(/\d+\.\d+\.\d+/i, \""$(version)"\")" ICInputAccessory.podspec
19+
ruby -pi -e "gsub(/:\s\d+\.\d+\.\d+/i, \": "$(version)"\")" .jazzy.yml
20+
xcrun agvtool new-marketing-version $(version)
21+
endif
22+
1423
carthage:
1524
set -o pipefail && carthage build --no-skip-current --verbose | bundle exec xcpretty
1625

Rakefile

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,3 @@ task :test, [:os] do |t, args|
4040
sh xcodebuild(scheme: "Example", version: args[:os], action: "clean test")
4141
exit $?.exitstatus if not $?.success?
4242
end
43-
44-
45-
desc "Bump versions"
46-
task :bump, [:version] do |t, args|
47-
version = args[:version]
48-
unless version
49-
puts %(Usage: rake "bump[version]")
50-
next
51-
end
52-
53-
FileUtils.mv "ICInputAccessory.xcodeproj", "ICInputAccessory.tmp"
54-
sh %(xcrun agvtool new-marketing-version #{version})
55-
FileUtils.mv "ICInputAccessory.tmp", "ICInputAccessory.xcodeproj"
56-
57-
FileUtils.mv "Example.xcodeproj", "Example.tmp"
58-
sh %(xcrun agvtool new-marketing-version #{version})
59-
FileUtils.mv "Example.tmp", "Example.xcodeproj"
60-
61-
podspec = "ICInputAccessory.podspec"
62-
text = File.read podspec
63-
File.write podspec, text.gsub(%r(\"\d+\.\d+\.\d+\"), "\"#{version}\"")
64-
puts "Updated #{podspec} to #{version}"
65-
66-
jazzy = ".jazzy.yml"
67-
text = File.read jazzy
68-
File.write jazzy, text.gsub(%r(:\s\d+\.\d+\.\d+), ": #{version}")
69-
puts "Updated #{jazzy} to #{version}"
70-
71-
sh %(bundle exec pod install)
72-
end

0 commit comments

Comments
 (0)