aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index c8ba1418..e00536f7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -250,6 +250,9 @@ task :package => [:clean, :compile, :docs] do
%x(tar -czf #{path_to(tarball)} -C #{path_to('pkg')} .)
+ FileUtils.cp path_to(tarball), pkg_dir
+ FileUtils.mv pkg_dir, path_to(['pkg', version])
+
puts "Package created: #{path_to(tarball)}"
end