Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure this can release properly

  • Loading branch information...
commit 4ee3590d80fa99be1bb089d986288bf760f5526a 1 parent 74f5dda
@atmos atmos authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -41,7 +41,7 @@ spec = Gem::Specification.new do |s|
s.require_path = 'lib'
s.autorequire = GEM
- s.files = %w(LICENSE README.markdown Rakefile config/dependencies.rb config/rubundler.rb) + Dir.glob("{lib,specs}/**/*")
+ s.files = %w(LICENSE README.markdown Rakefile config/dependencies.rb) + Dir.glob("{lib,specs}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
@@ -94,7 +94,7 @@ task :release => :repackage do
puts "Changing the version to #{next_version}."
- version_file = "#{r.root}/lib/#{GEM}/version.rb"
+ version_file = File.dirname(__FILE__)+"/lib/#{GEM}/version.rb"
File.open(version_file, "w") do |f|
f.puts <<-EOT
module DataMapperSalesforce
Please sign in to comment.
Something went wrong with that request. Please try again.