Skip to content
Snippets Groups Projects
Commit ee2d830e authored by George Nachman's avatar George Nachman
Browse files

Add test for missing private key

parent 5df71622
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -13,6 +13,7 @@ function die {
# Usage: SparkleSign testing.xml template.xml
function SparkleSign {
LENGTH=$(ls -l iTerm2-${NAME}.zip | awk '{print $5}')
test -f $PRIVKEY || die "Set PRIVKEY environment variable to point at a valid private key (not set or nonexistent)"
ruby "../../SparkleSigningTools/sign_update.rb" iTerm2-${NAME}.zip $PRIVKEY > /tmp/sig.txt
SIG=$(cat /tmp/sig.txt)
DATE=$(date +"%a, %d %b %Y %H:%M:%S %z")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment