Navigation Menu

Skip to content

Commit

Permalink
archive: put into pgroonga-${version}/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 28, 2015
1 parent e8281fc commit 83de03b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Expand Up @@ -13,12 +13,14 @@ end

version = find_version(package)

archive_name = "#{package}-#{version}.tar.gz"
archive_base_name = "#{package}-#{version}"
archive_name = "#{archive_base_name}.tar.gz"

dist_files = `git ls-files`.split("\n")

file archive_name => dist_files do
sh("git archive --format=tar HEAD | gzip > #{archive_name}")
sh("git archive --prefix=#{archive_base_name}/ --format=tar HEAD | " +
"gzip > #{archive_name}")
end

desc "Create release package"
Expand Down

0 comments on commit 83de03b

Please sign in to comment.