#538 ✓resolved
Shane Hanna

dm-more 0.9.5 version bump bad chdir in rakefile

Reported by Shane Hanna | August 21st, 2008 @ 10:22 PM

The addition of dm-core to the gem_paths list breaks the :build_gems task because the git repo has no dm-core path inside dm-core on master (621a6e8ad92436648461d22d5e38bdf407fd6891).


commit 096832724ba9a05b0e6cee5992f60b0493170c65
Author: Bernerd Schaefer <bj.schaefer@gmail.com>
Date:   Thu Aug 21 12:56:36 2008 -0500

    Version Bump for 0.9.5.

diff --git a/Rakefile b/Rakefile
index 2d84915..f064891 100755
--- a/Rakefile
+++ b/Rakefile
@@ -28,6 +28,7 @@ gem_paths = %w[
   dm-types
   dm-validations
   merb_datamapper
+  dm-more
 ]
 gems = gem_paths.map { |p| File.basename(p) }

@@ -108,9 +109,9 @@ task :bundle => [:package, :build_gems] do
 end

 desc "Release all dm-more gems"
-task :release_all => [:release] do
+task :release_all do
   gem_paths.each do |dir|
-    Dir.chdir(dir){ sh "rake release VERSION=#{DataMapper::More::VERSION}" }
+    Dir.chdir(dir) { sh "rake release VERSION=#{DataMapper::More::VERSION}; true" }
   end
 end

Comments and changes to this ticket

  • Shane Hanna

    Shane Hanna August 21st, 2008 @ 10:27 PM

    • Tag set to bug, build, dm-more
    
    diff --git a/Rakefile b/Rakefile
    index f064891..a3dc9dc 100755
    --- a/Rakefile
    +++ b/Rakefile
    @@ -28,7 +28,6 @@ gem_paths = %w[
       dm-types
       dm-validations
       merb_datamapper
    -  dm-more
     ]
     gems = gem_paths.map { |p| File.basename(p) }
    
  • Bernerd Schaefer

    Bernerd Schaefer August 22nd, 2008 @ 09:00 AM

    • State changed from “new” to “resolved”

    Okay. This is fixed now (4842f26). I accidently added the dm-more line after I had released all of the new gems.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages