Skip to content

Commit

Permalink
[fix]: false release file prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylu00 authored Feb 18, 2020
1 parent 5bfe649 commit 6654fb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ss-build2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ build_ss() {
release_assets() {
git clone https://github.com/pgdurand/github-release-api.git
cd github-release-api
cp ../shadowsocks-libev-${SHADOWSOCKS_VER}-${BUILD_ARCH}.tar.gz ./
#create release tag
if [ ! -f .created ]; then
./github_release_manager.sh \
Expand All @@ -142,7 +143,8 @@ release_assets() {
-l TC_GITHUB_USERNAME -t TC_GITHUB_TOKEN \
-o tony-cloud -r ss-libev-build \
-d ${SHADOWSOCKS_VER} \
-c upload ../shadowsocks-libev-${SHADOWSOCKS_VER}-${BUILD_ARCH}.tar.gz
-c upload shadowsocks-libev-${SHADOWSOCKS_VER}-${BUILD_ARCH}.tar.gz
rm -f shadowsocks-libev-${SHADOWSOCKS_VER}-${BUILD_ARCH}.tar.gz
cd -
}

Expand Down

0 comments on commit 6654fb8

Please sign in to comment.