File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ function build() {
1313 echo " * Building ${TARGET} package ${VERSION} ..."
1414
1515 RELEASE_DIR=" target/${TARGET} /release"
16- PKG_NAME=" shadowsocks-v${VERSION} -stable.${TARGET} .tar.xz"
17- PKG_PATH=" ${CUR_DIR} /${PKG_NAME} "
1816
1917 cross build --target " ${TARGET} " \
2018 --features " miscreant" \
@@ -25,6 +23,9 @@ function build() {
2523 fi
2624
2725 if [[ " $TARGET " == * " -linux-" * ]]; then
26+ PKG_NAME=" shadowsocks-v${VERSION} -stable.${TARGET} .tar.xz"
27+ PKG_PATH=" ${CUR_DIR} /${PKG_NAME} "
28+
2829 echo " * Packaging XZ in ${PKG_PATH} ..."
2930 cd ${RELEASE_DIR}
3031 tar -cJf ${PKG_PATH} \
@@ -37,6 +38,9 @@ function build() {
3738 exit $?
3839 fi
3940 elif [[ " $TARGET " == * " -windows-" * ]]; then
41+ PKG_NAME=" shadowsocks-v${VERSION} -stable.${TARGET} .zip"
42+ PKG_PATH=" ${CUR_DIR} /${PKG_NAME} "
43+
4044 echo " * Packaging ZIP in ${PKG_PATH} ..."
4145 cd ${RELEASE_DIR}
4246 zip ${PKG_PATH} \
You can’t perform that action at this time.
0 commit comments