release per version

pull/362/head
Darien Raymond 8 years ago
parent 4c79c4b84b
commit f9b3a1446a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -19,10 +19,11 @@ INSTALL_DIR=_install
git clone "https://github.com/v2ray/install.git" ${INSTALL_DIR}
rm -rf ${INSTALL_DIR}/releases/
mkdir ${INSTALL_DIR}/releases/
cp $GOPATH/bin/metadata.txt ${INSTALL_DIR}/releases/
cp $GOPATH/bin/v2ray-*.zip ${INSTALL_DIR}/releases/
RELEASE_DIR=${INSTALL_DIR}/releases/${TRAVIS_TAG}
mkdir -p ${RELEASE_DIR}/
cp $GOPATH/bin/metadata.txt ${RELEASE_DIR}/
cp $GOPATH/bin/v2ray-*.zip ${RELEASE_DIR}/
echo ${TRAVIS_TAG} > ${INSTALL_DIR}/releases/
cp $GOPATH/bin/v2ray-${TRAVIS_TAG}-linux-64/v2ray ${INSTALL_DIR}/docker/official/

Loading…
Cancel
Save