diff options
author | Martin Matuska <martin@matuska.org> | 2022-02-08 09:23:37 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2022-02-08 09:52:02 +0100 |
commit | 7f4529dda944d109155c1b1040972c6db08b9bae (patch) | |
tree | cda90e6931a14e421f1c374c21b75f207c0ab7c9 /build | |
parent | 700dc6844a6311ab990ce39f2ed3537e9b5f2f01 (diff) | |
download | libarchive-7f4529dda944d109155c1b1040972c6db08b9bae.tar.gz |
CI: add dist-artifact
Diffstat (limited to 'build')
-rwxr-xr-x | build/ci/build.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/ci/build.sh b/build/ci/build.sh index 6e36e3e7..79f26d75 100755 --- a/build/ci/build.sh +++ b/build/ci/build.sh @@ -43,6 +43,7 @@ while getopts a:b:c:d:s: opt; do install) ;; distcheck) ;; artifact) ;; + dist-artifact) ;; *) inputerror "Invalid action (-a)" ;; esac ACTIONS="${ACTIONS} ${OPTARG}" @@ -163,6 +164,11 @@ for action in ${ACTIONS}; do tar -c -J -C "${BUILDDIR}/destdir" -f "${CURDIR}/libarchive.tar.xz" usr ls -l "${CURDIR}/libarchive.tar.xz" ;; + dist-artifact) + tar -c -C "${BUILDDIR}" -f "${CURDIR}/libarchive-dist.tar" \ + libarchive-*.tar.gz libarchive-*.tar.xz libarchive-*.zip + ls -l "${CURDIR}/libarchive-dist.tar" + ;; esac if [ "${RET}" != "0" ]; then exit "${RET}" |