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:
commit
5c77eddaf9
@ -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
|
||||||
|
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user