post-upload: Upload Linux source to artifacts dir

The source from the Linux build is desireable as it has permissions and
line endings set correctly.
This commit is contained in:
lat9nq 2022-08-09 00:18:32 -04:00
parent 1f7e2d1cad
commit 050c760822

View file

@ -11,6 +11,7 @@ if [[ -z "${NO_SOURCE_PACK}" ]]; then
git clone --depth 1 file://$(readlink -e .) ${REV_NAME}-source
tar -cJvf "${REV_NAME}-source.tar.xz" ${REV_NAME}-source
cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME"
cp -v "${REV_NAME}-source.tar.xz" "${ARTIFACTS_DIR}/"
fi
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME"