wisemapping-open-source/distribution/copy-dist.sh

22 lines
629 B
Bash
Raw Normal View History

2011-07-04 18:57:02 +02:00
#!/bin/bash
set -e
set -u
WISE_VERSION=$1
2011-07-05 17:31:17 +02:00
SERVER_DOWNLOAD_DIR=/var/www/wisemapping.org/stable
2011-07-04 18:57:02 +02:00
WISE_BIN_FILE_NAME=wisemapping-${WISE_VERSION}.zip
2011-07-05 17:31:17 +02:00
WISE_BIN_FILE_PATH=./target/${WISE_BIN_FILE_NAME}
2011-07-04 18:57:02 +02:00
2012-07-02 05:06:26 +02:00
#WISE_SRC_FILE_NAME=wisemapping-${WISE_VERSION}-src.tar.gz
#WISE_SRC_FILE_PATH=./target/${WISE_SRC_FILE_NAME}
2011-07-04 18:57:02 +02:00
2012-07-02 05:06:26 +02:00
#scp ${WISE_SRC_FILE_PATH} thecrow@wisemapping.com:${SERVER_DOWNLOAD_DIR}/
2011-07-04 18:57:02 +02:00
scp ${WISE_BIN_FILE_PATH} thecrow@wisemapping.com:${SERVER_DOWNLOAD_DIR}
# It's there ?
cd target
2011-07-04 18:57:02 +02:00
wget -S http://downloads.wisemapping.org/stable/${WISE_BIN_FILE_NAME}
2012-07-02 05:06:26 +02:00
#wget -S http://downloads.wisemapping.org/stable/${WISE_SRC_FILE_NAME}