Use tar.bz2 instead of zip to package Atom.app

zip was modifying some framework binaries, which causes codesigning to fail
This commit is contained in:
Corey Johnson 2013-02-26 15:07:11 -08:00
parent fcadc2a552
commit 2b3bd11a46

View File

@ -59,10 +59,10 @@ task :package => ["bump-patch-number", "build"] do
path = application_path()
exit 1 if not path
dest_path = '/tmp/atom-for-speakeasy/Atom.app.zip'
dest_path = '/tmp/atom-for-speakeasy/Atom.tar.bz2'
`mkdir -p $(dirname #{dest_path})`
`rm -rf #{dest_path}`
`pushd $(dirname #{path}); zip -r #{dest_path} $(basename #{path}); popd`
`tar --directory $(dirname #{path}) -jcvf #{dest_path} $(basename #{path})`
`open $(dirname #{dest_path})`
end