Skip to content

Commit

Permalink
* Preserve the project name when updating
Browse files Browse the repository at this point in the history
* Bumped version to 0.5.0.rc.2
  • Loading branch information
donv committed Oct 28, 2011
1 parent db8d004 commit 9aaf710
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/ruboto/util/update.rb
Expand Up @@ -12,10 +12,11 @@ def update_android

# FIXME(uwe): Remove build.xml file to force regeneration.
# FIXME(uwe): Needed when updating from Android SDK <=13 to 14
name = REXML::Document.new(File.read("#{root}/build.xml")).root.attributes['name']
FileUtils.rm_f "#{root}/build.xml"
# FIXME end

system "android update project -p #{root}"
system "android update project -p #{root} -n #{name}"
end

def update_test(force = nil)
Expand Down
2 changes: 1 addition & 1 deletion lib/ruboto/version.rb
@@ -1,3 +1,3 @@
module Ruboto
VERSION = '0.5.0.rc.1'
VERSION = '0.5.0.rc.2'
end

0 comments on commit 9aaf710

Please sign in to comment.