From dbb1dadf3732e593c2a2020ed5dff1761971b057 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Tue, 9 Nov 2021 23:27:48 +0800 Subject: [PATCH] release v1.12.1-alpha.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- build/build-release | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cea9a2621201..2849ae796435 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1623,7 +1623,7 @@ dependencies = [ [[package]] name = "shadowsocks-rust" -version = "1.12.1" +version = "1.12.1-alpha.1" dependencies = [ "build-time", "byte_string", diff --git a/Cargo.toml b/Cargo.toml index 22618993cd81..098a1943bec9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shadowsocks-rust" -version = "1.12.1" +version = "1.12.1-alpha.1" authors = ["Shadowsocks Contributors"] description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls." repository = "https://github.com/shadowsocks/shadowsocks-rust" diff --git a/build/build-release b/build/build-release index 618658f2faa0..629398a93968 100755 --- a/build/build-release +++ b/build/build-release @@ -37,7 +37,7 @@ if [[ "${#targets[@]}" == "0" ]]; then fi if [[ "${use_upx}" = true ]]; then - if [[ ! -z $upx ]] && hash upx 2>/dev/null; then + if [[ -z "$upx" ]] && command -v upx &> /dev/null; then upx="upx -9" fi