Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source params.sh

DEST_DIR=\~/tempfiles/${VERSION}_patch${PATCH_NUMBER}
DEST_DIR=\s3://patch.gigaspaces.com/${VERSION}_patch${PATCH_NUMBER}
echo DEST_DIR=${DEST_DIR}
CLOUDIFY_BUILD_DIR=${REPOSITORY}/cloudify/${VERSION}/build_${BUILD_NUMBER}

Expand All @@ -14,26 +14,26 @@ CPP_FILES="${BUILD_DIR}/gigaspaces-cpp-*.tar.gz"

RN_FILE=Release_Notes_${MAJOR}_${MINOR}_${SERVICEPACK}_patch${PATCH_NUMBER}.doc

ssh -i ~/.ssh/website [email protected] "mkdir -p ${DEST_DIR}"

#copy release notes file
scp -i ~/.ssh/website ${REPOSITORY}/release_notes/${RN_FILE} tempfiles@www.gigaspaces.com:${DEST_DIR}
s3cmd put --recurcive ~/.ssh/website ${REPOSITORY}/release_notes/${RN_FILE} s3://patch.gigaspaces.com/${DEST_DIR}

#copy package files
case $PATCH_TYPE in
xap)
scp -i ~/.ssh/website $XAP_ZIP_FILE tempfiles@www.gigaspaces.com:${DEST_DIR}
xap)
s3cmd put --recurcive ~/.ssh/website $XAP_ZIP_FILE s3://patch.gigaspaces.com/${DEST_DIR}
;;
dotnet)
scp -i ~/.ssh/website $DOTNET_FILES [email protected]:${DEST_DIR}
;;
cpp)
scp -i ~/.ssh/website $CPP_FILES [email protected]:${DEST_DIR}
s3cmd put --recurcive ~/.ssh/website $DOTNET_FILES s3://patch.gigaspaces.com/${DEST_DIR}
;;
cloudify)
scp -i ~/.ssh/website $CLOUDIFY_FILES [email protected]:${DEST_DIR}
cpp)
s3cmd put --recurcive ~/.ssh/website $CPP_FILES s3://patch.gigaspaces.com/${DEST_DIR}
;;
cloudify)
s3cmd put --recurcive ~/.ssh/website $CLOUDIFY_FILES s3://patch.gigaspaces.com/${DEST_DIR}
;;

*)
*)
esac