mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
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:
parent
1f7e2d1cad
commit
050c760822
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ if [[ -z "${NO_SOURCE_PACK}" ]]; then
|
||||||
git clone --depth 1 file://$(readlink -e .) ${REV_NAME}-source
|
git clone --depth 1 file://$(readlink -e .) ${REV_NAME}-source
|
||||||
tar -cJvf "${REV_NAME}-source.tar.xz" ${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" "$DIR_NAME"
|
||||||
|
cp -v "${REV_NAME}-source.tar.xz" "${ARTIFACTS_DIR}/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME"
|
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME"
|
||||||
|
|
Loading…
Reference in a new issue