mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
parent
2291bf5bf9
commit
c2ad67a907
@ -82,7 +82,7 @@ for:
|
|||||||
only:
|
only:
|
||||||
- image: Ubuntu1804
|
- image: Ubuntu1804
|
||||||
before_build:
|
before_build:
|
||||||
- sh: "if [ ${APPVEYOR_REPO_TAG} == \"true\" ]; then tar --exclude=.git -czf /tmp/${APPVEYOR_REPO_TAG_NAME}.tar.gz . && appveyor PushArtifact /tmp/${APPVEYOR_REPO_TAG_NAME}.tar.gz \nfi"
|
- sh: "if [ ${APPVEYOR_REPO_TAG} == \"true\" ]; then .ci/appveyor-create-release-tarball.sh\nfi"
|
||||||
- ./configure
|
- ./configure
|
||||||
build_script:
|
build_script:
|
||||||
- make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
- make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
||||||
|
7
.ci/appveyor-create-release-tarball.sh
Executable file
7
.ci/appveyor-create-release-tarball.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
tar --exclude=.git --transform "s//SoftEtherVPN-${APPVEYOR_REPO_TAG_NAME}\//" -czf /tmp/softether-vpn-src-${APPVEYOR_REPO_TAG_NAME}.tar.gz .
|
||||||
|
appveyor PushArtifact /tmp/softether-vpn-src-${APPVEYOR_REPO_TAG_NAME}.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user