From e2a21022e4c6e61673a7014ccb29ba20a5378686 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 7 Mar 2015 15:40:26 +0800 Subject: Add copies of the nightly build scripts, albeit missing vital details and passwords --- Scripts/nightlybuildupload.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Scripts/nightlybuildupload.sh (limited to 'Scripts/nightlybuildupload.sh') diff --git a/Scripts/nightlybuildupload.sh b/Scripts/nightlybuildupload.sh new file mode 100644 index 00000000..7bf8f875 --- /dev/null +++ b/Scripts/nightlybuildupload.sh @@ -0,0 +1,21 @@ +#!/usr/bin/expect + +# Note that changes to this script will NOT update the nightly builder without manual deployment + +# Quiet this script +log_user 0 + +# A script to upload the specified Sequel Pro build to the nightlies server, as another minor security hurdle. +# This will be called by the build script with the first parameter being the VCS revision, second passphrase + +# Ensure a revision number was passed in +set REVISION_NUMBER [lindex $argv 0] +set PASSPHRASE [lindex $argv 1] + +# Perform the upload +spawn scp -q -P 32100 /Users/spbuildbot/buildbot/sequel-pro/build/build/Release/Sequel_Pro_r${REVISION_NUMBER}.dmg sequelpro@sequelpro.com:public_html/nightly +expect "Enter passphrase for key '/Users/spbuildbot/.ssh/id_rsa': " +send "${PASSPHRASE}\r" +expect eof +catch wait result +exit [lindex $result 3] -- cgit v1.2.3