mirror of https://github.com/qwqdanchun/nps.git
update build.sh
This commit is contained in:
parent
f365973bb9
commit
e33b0be3b8
|
@ -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
|
||||
|
|
2
build.sh
2
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
|
||||
|
|
Loading…
Reference in New Issue