Skip to content

Commit 41c9e57

Browse files
committed
Add signing build script needed for shipping
1 parent c33c6e7 commit 41c9e57

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ profile
4040

4141
DerivedData/
4242

43-
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build"
44-
45-
build/
46-
47-
4843
#####
4944
# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups)
5045
#

Build/sign_update.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/ruby
2+
if ARGV.length < 2
3+
puts "Usage: ruby sign_update.rb update_archive private_key"
4+
exit
5+
end
6+
7+
puts `openssl dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`

0 commit comments

Comments
 (0)