release v1.15.1, prebuilt releases use stable Rust

ref #1053
ref shadowsocks/shadowsocks-android#2966
This commit is contained in:
zonyitoo
2022-12-17 20:16:14 +08:00
parent 990ffb9b4f
commit 3b802b0453
4 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -2157,7 +2157,7 @@ dependencies = [
[[package]]
name = "shadowsocks-rust"
version = "1.15.0"
version = "1.15.1"
dependencies = [
"base64",
"build-time",

View File

@@ -1,6 +1,6 @@
[package]
name = "shadowsocks-rust"
version = "1.15.0"
version = "1.15.1"
authors = ["Shadowsocks Contributors"]
description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls."
repository = "https://github.com/shadowsocks/shadowsocks-rust"

View File

@@ -31,7 +31,7 @@ RUN case "$TARGETARCH" in \
&& PATH="/root/$MUSL-cross/bin:$PATH" \
&& CC=/root/$MUSL-cross/bin/$MUSL-gcc \
&& echo "CC=$CC" \
&& rustup override set nightly \
&& rustup override set stable \
&& rustup target add "$RUST_TARGET" \
&& RUSTFLAGS="-C linker=$CC" CC=$CC cargo build --target "$RUST_TARGET" --release --features "local-tun local-redir stream-cipher aead-cipher-2022" \
&& mv target/$RUST_TARGET/release/ss* target/release/

View File

@@ -43,8 +43,8 @@ parts:
shadowsocks-rust:
plugin: rust
source: https://github.com/shadowsocks/shadowsocks-rust.git
rust-channel: nightly
rust-features: [local-tun, local-redir, armv8, neon]
rust-channel: stable
rust-features: [local-tun, local-redir]
override-pull: |
snapcraftctl pull
snapcraftctl set-version `git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'`