Sha256: ee4a4f20eb024c441f79b6ec50f4bf4857e089307e1b6546f49e3efce48182f0

Contents?: true

Size: 617 Bytes

Versions: 39

Compression:

Stored size: 617 Bytes

Contents

#!/bin/sh -e

# Created by Yaroslav on 10/21/11.
# Copyright 2011 nix. All rights reserved.

# Script uploads IPA product. Creates appropriate subdirectories.

if [[ $# < 6 ]]; then
    echo "usage: $0 DEPLOY_HOST DEPLOY_DIR DEPLOY_USER DEPLOY_PASSWORD LOCAL_PATH_TO_BUILD RELATIVE_PATH"
    exit 1
fi

DEPLOY_HOST=$1
DEPLOY_DIR=$2
DEPLOY_USER=$3
DEPLOY_PASS=$4
LOCAL_PATH_TO_BUILD=$5
RELATIVE_PATH=$6

echo "Uploading build"

scp -r "${LOCAL_PATH_TO_BUILD}" "${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_DIR}"
ssh ${DEPLOY_USER}@${DEPLOY_HOST} "chmod 775 -R ${DEPLOY_DIR}/${RELATIVE_PATH}"

rm -rf "${LOCAL_PATH_TO_BUILD}"

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
nixenvironment-0.0.161 legacy/Deploy.sh
nixenvironment-0.0.160 legacy/Deploy.sh
nixenvironment-0.0.159 legacy/Deploy.sh
nixenvironment-0.0.158 legacy/Deploy.sh
nixenvironment-0.0.157 legacy/Deploy.sh
nixenvironment-0.0.156 legacy/Deploy.sh
nixenvironment-0.0.155 legacy/Deploy.sh
nixenvironment-0.0.154 legacy/Deploy.sh
nixenvironment-0.0.153 legacy/Deploy.sh
nixenvironment-0.0.152 legacy/Deploy.sh
nixenvironment-0.0.150 legacy/Deploy.sh
nixenvironment-0.0.148 legacy/Deploy.sh
nixenvironment-0.0.141 legacy/Deploy.sh
nixenvironment-0.0.147 legacy/Deploy.sh
nixenvironment-0.0.146 legacy/Deploy.sh
nixenvironment-0.0.145 legacy/Deploy.sh
nixenvironment-0.0.144 legacy/Deploy.sh
nixenvironment-0.0.143 legacy/Deploy.sh
nixenvironment-0.0.142 legacy/Deploy.sh
nixenvironment-0.0.138.1 legacy/Deploy.sh