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

Merge pull request #935 from chipitsine/master

Merge pull request #935: Change release packaging, fixes #846
This commit is contained in:
Ilya Shipitsin 2019-07-10 11:03:48 +05:00 committed by GitHub
commit 5c77eddaf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 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

View File

@ -29,6 +29,8 @@ precise:
# illumos gitlab-runner maintained by @hww3 # illumos gitlab-runner maintained by @hww3
build_illumos: build_illumos:
only:
- master@SoftEther/SoftEtherVPN
tags: tags:
- illumos - illumos
script: script: