From e33b0be3b8a0a9f419d6c9ca7b4599f0af4540c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Wed, 4 Dec 2019 21:35:43 +0800 Subject: [PATCH] update build.sh --- .travis.yml | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0f6582..f076c5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,7 +50,7 @@ deploy: - win_386_server.tar.gz - win_amd64_client.tar.gz - win_amd64_server.tar.gz - - npc_$VERSION.spk + - npc_syno.spk - npc_sdk.tar.gz on: tags: true diff --git a/build.sh b/build.sh index beb8060..1df36fb 100644 --- a/build.sh +++ b/build.sh @@ -167,7 +167,7 @@ git clone https://github.com/cnlh/spksrc.git ~/spksrc mkdir ~/spksrc/nps && cp -rf ./* ~/spksrc/nps/ docker run -itd --name spksrc --env VERSION=$VERSION -v ~/spksrc:/spksrc synocommunity/spksrc /bin/bash docker exec -it spksrc /bin/bash -c 'cd /spksrc && make setup && cd /spksrc/spk/npc && make' -cp ~/spksrc/packages/npc_noarch-all_$VERSION-1.spk ./npc_$VERSION.spk +cp ~/spksrc/packages/npc_noarch-all_$VERSION-1.spk ./npc_syno.spk echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin