1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-27 07:44:34 +02:00

Fix OSX deployment

This commit is contained in:
Dominik Schmidt
2016-01-06 21:36:29 +01:00
parent acdd0e3b9f
commit 4b7f8929fd
5 changed files with 56 additions and 48 deletions

View File

@@ -6,9 +6,9 @@ if ARGV.length < 2
exit
end
tarball = "tomahawk-#{ARGV[0]}.tar.bz2"
tarball = "#{ARGV[0].downcase}-#{ARGV[1]}.tar.bz2"
puts "Zipping: #{tarball}..."
`tar jcvf "#{tarball}" Tomahawk.app`
`tar jcvf "#{tarball}" #{ARGV[0]}.app`
puts "Signing..."
puts `openssl dgst -sha1 -binary < "#{tarball}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`
puts `openssl dgst -sha1 -binary < "#{tarball}" | openssl dgst -dss1 -sign "#{ARGV[2]}" | openssl enc -base64`