mirror of https://github.com/v2ray/v2ray-core
update dist repo on release
parent
ab0ddd4313
commit
7dfba3724e
|
@ -169,6 +169,43 @@ git config user.email "admin@v2ray.com"
|
|||
git commit -am "update to version $VERN"
|
||||
git push --quiet "https://${GITHUB_TOKEN}@github.com/v2ray/homebrew-v2ray" master:master
|
||||
|
||||
echo "Updating dist"
|
||||
|
||||
cd $GOPATH/src/v2ray.com/
|
||||
mkdir dist
|
||||
cd dist
|
||||
|
||||
git init
|
||||
git config user.name "Darien Raymond"
|
||||
git config user.email "admin@v2ray.com"
|
||||
|
||||
cp ${ART_ROOT}/v2ray-macos.zip .
|
||||
cp ${ART_ROOT}/v2ray-windows-64.zip .
|
||||
cp ${ART_ROOT}/v2ray-windows-32.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-64.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-32.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-arm.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-arm64.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-mips64.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-mips64le.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-mips.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-mipsle.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-ppc64.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-ppc64le.zip .
|
||||
cp ${ART_ROOT}/v2ray-linux-s390x.zip .
|
||||
cp ${ART_ROOT}/v2ray-freebsd-64.zip .
|
||||
cp ${ART_ROOT}/v2ray-freebsd-32.zip .
|
||||
cp ${ART_ROOT}/v2ray-openbsd-64.zip .
|
||||
cp ${ART_ROOT}/v2ray-openbsd-32.zip .
|
||||
cp ${ART_ROOT}/v2ray-dragonfly-64.zip .
|
||||
cp /v2/build/src_all.zip .
|
||||
|
||||
git add .
|
||||
git commit -m "Version ${RELEASE_TAG}"
|
||||
git tag -s -a "${RELEASE_TAG}" -m "Version ${RELEASE_TAG}"
|
||||
git remote add origin "https://${GITHUB_TOKEN}@github.com/v2ray/dist"
|
||||
git push -u --force origin master
|
||||
|
||||
fi
|
||||
|
||||
shutdown -h now
|
||||
|
|
Loading…
Reference in New Issue