1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Change release packaging

Fixes: #846
This commit is contained in:
Ilya Shipitsin 2019-07-08 12:09:58 +05:00
parent 2291bf5bf9
commit c2ad67a907
2 changed files with 8 additions and 1 deletions

View File

@ -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)

View 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