lib/embork/builder.rb in embork-0.0.6 vs lib/embork/builder.rb in embork-0.0.7
- old
+ new
@@ -81,9 +81,14 @@
dest = File.join build_path, file
FileUtils.cp src, dest
end
+ # Write the current version
+ Dir.chdir build_path do
+ File.open('current-version', 'w') { |f| f.puts @version }
+ end
+
# Clean up
FileUtils.rm manifest_path
end
@version