tasks/package.rake in kpm-0.6.1 vs tasks/package.rake in kpm-0.6.2
- old
+ new
@@ -102,9 +102,10 @@
sh "chmod +x packaging/kpm.sh #{package_dir}/kpm"
sh "cp -pR packaging/vendor #{package_dir}/lib/"
sh "cp packaging/Gemfile* #{package_dir}/lib/vendor/"
+ sh "sed -i 's/VERSION/#{VERSION}/g' #{package_dir}/lib/vendor/Gemfile"
sh "mkdir #{package_dir}/lib/vendor/.bundle"
sh "cp packaging/bundler-config #{package_dir}/lib/vendor/.bundle/config"
if !ENV['DIR_ONLY']
sh "tar -czf #{package_dir}.tar.gz #{package_dir}"
\ No newline at end of file