From 352607f9b4e9fa7f169ec2c58253b1f6103c3ce4 Mon Sep 17 00:00:00 2001 From: Corey Johnson & Kevin Sawicki Date: Thu, 28 Feb 2013 10:16:01 -0800 Subject: [PATCH] Remove bump-patch-number from Rakefile --- Rakefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Rakefile b/Rakefile index afb06cc0a..6c14a02c4 100644 --- a/Rakefile +++ b/Rakefile @@ -55,7 +55,7 @@ task :install => [:clean, :build] do end desc "Package up the app for speakeasy" -task :package => ["setup-codesigning", "bump-patch-number", "build"] do +task :package => ["setup-codesigning", "build"] do path = application_path() exit 1 if not path @@ -70,17 +70,6 @@ task "setup-codesigning" do ENV['CODE_SIGN'] = "Developer ID Application: GitHub" end -desc "Bump patch number" -task "bump-patch-number" do - version_number = `/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString:" ./native/mac/info.plist` - major, minor, patch = version_number.match(/(\d+)\.(\d+)\.(\d+)/)[1..-1].map {|o| o.to_i} - `/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString #{major}.#{minor}.#{patch + 1}" ./native/mac/info.plist` - `/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{major}.#{minor}.#{patch + 1}" ./native/mac/info.plist` - - new_version_number = `/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString:" ./native/mac/info.plist` - puts "Bumped from #{version_number.strip} to #{new_version_number.strip}" -end - desc "Clone default bundles into vendor/bundles directory" task "clone-default-bundles" do `git submodule --quiet sync`