Skip to content

Commit

Permalink
prepare the prerelease of 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
doudou committed Jul 11, 2017
1 parent e956ae5 commit f467b2f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autoproj.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

s.add_runtime_dependency "bundler"
s.add_runtime_dependency "autobuild", '~> 1.10.0', ">= 1.10.0"
s.add_runtime_dependency "autobuild", ">= 1.11.0.a"
s.add_runtime_dependency "utilrb", '~> 3.0.0', ">= 3.0.0"
s.add_runtime_dependency "thor", '~> 0.19.0', '>= 0.19.1'
s.add_runtime_dependency 'concurrent-ruby', '~> 1.0.0', '>= 1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion lib/autoproj/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Autoproj
VERSION = "2.0.3"
VERSION = "2.1.0.rc1"
end
10 changes: 8 additions & 2 deletions test/test_workspace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,15 @@ def add_version_control(package_name, type: 'local', url: package_name, **vcs)

# First, we need to package autoproj as-is so that we can
# install while using the gem server
capture_subprocess_io do
install_successful = false
out, err = capture_subprocess_io do
system("rake", "build")
Bundler.clean_system(Hash['GEM_HOME' => fixture_gem_home], Ops::Install.guess_gem_program, 'install', '--no-document', File.join('pkg', "autoproj-#{VERSION}.gem"))
install_successful = Bundler.clean_system(
Hash['GEM_HOME' => fixture_gem_home],
Ops::Install.guess_gem_program, 'install', '--no-document', File.join('pkg', "autoproj-#{VERSION}.gem"))
end
if !install_successful
flunk("failed to install the autoproj gem in the mock repository:\n#{err}")
end

autobuild_full_path = find_gem_dir('autobuild').full_gem_path
Expand Down

0 comments on commit f467b2f

Please sign in to comment.