Skip to content

Commit

Permalink
Add signing build script needed for shipping
Browse files Browse the repository at this point in the history
  • Loading branch information
numist committed Jul 18, 2013
1 parent c33c6e7 commit 41c9e57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ profile

DerivedData/

# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build"

build/


#####
# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups)
#
Expand Down
7 changes: 7 additions & 0 deletions Build/sign_update.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/ruby
if ARGV.length < 2
puts "Usage: ruby sign_update.rb update_archive private_key"
exit
end

puts `openssl dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`

0 comments on commit 41c9e57

Please sign in to comment.