Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

upgrade to 1.8.M05

  • Loading branch information...
commit 33ed616eb288551a92f69b68b734e95ddc1cb1a4 1 parent bcb62d4
@andreasronge andreasronge authored
View
19 Rakefile
@@ -1,13 +1,17 @@
require "bundler/gem_tasks"
+def tar_file
+ Dir.new('tmp').entries.find { |x| x =~ /gz$/ || x =~ /tar$/}
+end
+
def source_file
- gz_file = Dir.new('tmp').entries.find { |x| x =~ /gz$/ }
- File.expand_path("./tmp/#{gz_file}")
+ File.expand_path("./tmp/#{tar_file}")
end
def unpack_lib_dir
- gz_file = Dir.new('tmp').entries.find { |x| x =~ /gz$/ }
- dir = gz_file.gsub('-unix.tar.gz', '')
+ file = tar_file
+ dir = file.gsub('-unix.tar.gz', '')
+ dir = dir.gsub('-unix.tar', '')
File.expand_path("./tmp/#{dir}/lib")
end
@@ -20,7 +24,8 @@ task :delete_old_jar do
root = File.expand_path("./lib/neo4j-community/jars")
files = Dir.new(root).entries.find_all{|f| f =~ /\.jar/}
files.each do |file|
- system "rm #{root}/#{file}"
+ puts "Delete #{file}"
+ system "git rm #{root}/#{file}"
end
end
@@ -28,7 +33,9 @@ desc "Upgrade using downloaded ...tar.gz file in ./tmp"
task :upgrade => [:delete_old_jar] do
system "cd tmp; tar xf #{source_file}"
jars = File.expand_path("./lib/neo4j-community/jars")
+ puts "Jar dir #{jars}"
+ FileUtils.mkdir_p(jars)
test_jars = File.expand_path("./lib/neo4j-community/test-jars")
- jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{jars}" unless f =~ /tests/}
+ jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{jars}; git add #{jars}/#{f}" unless f =~ /tests/}
jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{test_jars}" if f =~ /tests/}
end
View
BIN  lib/neo4j-community/jars/neo4j-cypher-1.8.M04.jar → lib/neo4j-community/jars/neo4j-cypher-1.8.M05.jar
Binary file not shown
View
BIN  ...neo4j-community/jars/neo4j-graph-algo-1.8.M04.jar → ...neo4j-community/jars/neo4j-graph-algo-1.8.M05.jar
Binary file not shown
View
BIN  ...j-community/jars/neo4j-graph-matching-1.8.M04.jar → ...j-community/jars/neo4j-graph-matching-1.8.M05.jar
Binary file not shown
View
BIN  lib/neo4j-community/jars/neo4j-jmx-1.8.M04.jar → lib/neo4j-community/jars/neo4j-jmx-1.8.M05.jar
Binary file not shown
View
BIN  lib/neo4j-community/jars/neo4j-kernel-1.8.M04.jar → lib/neo4j-community/jars/neo4j-kernel-1.8.M05.jar
Binary file not shown
View
BIN  ...o4j-community/jars/neo4j-lucene-index-1.8.M04.jar → ...o4j-community/jars/neo4j-lucene-index-1.8.M05.jar
Binary file not shown
View
BIN  lib/neo4j-community/jars/neo4j-shell-1.8.M04.jar → lib/neo4j-community/jars/neo4j-shell-1.8.M05.jar
Binary file not shown
View
BIN  lib/neo4j-community/jars/neo4j-udc-1.8.M04.jar → lib/neo4j-community/jars/neo4j-udc-1.8.M05.jar
Binary file not shown
View
BIN  lib/neo4j-community/jars/server-api-1.8.M04.jar → lib/neo4j-community/jars/server-api-1.8.M05.jar
Binary file not shown
View
4 lib/neo4j-community/version.rb
@@ -1,7 +1,7 @@
module Neo4j
module Community
- VERSION = "1.8.M04"
- NEO_VERSION = "1.8.M04"
+ VERSION = "1.8.M05"
+ NEO_VERSION = "1.8.M05"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.