Skip to content

Commit 7935fc0

Browse files
Prepare for release
1 parent 583a0a6 commit 7935fc0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Rakefile

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def bump value
3030
if value == :y
3131
new_num[-1] = 0 # x.y.Z -> x.y.0
3232
new_num[-2] = new_num[-2].to_i + 1 # x.Y -> x.Y+1
33+
elsif value == :x
34+
new_num[-1] = 0 # x.y.Z -> x.y.0
35+
new_num[-2] = 0 # x.Y.z -> x.0.z
36+
new_num[-3]= new_num[-3].to_i + 1
3337
end
3438

3539
new_num = new_num.join '.'

lib/appium_lib/common/version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Appium
22
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
3-
VERSION = '0.24.1' unless defined? ::Appium::VERSION
4-
DATE = '2014-03-26' unless defined? ::Appium::DATE
3+
VERSION = '1.0.0' unless defined? ::Appium::VERSION
4+
DATE = '2014-04-29' unless defined? ::Appium::DATE
55
end

0 commit comments

Comments
 (0)