mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 20:36:24 -05:00
6eeb532c96
Removes the 7z from being package during CI, as only .tar.xz preserves information needed on Linux, and otherwise is just extremely redundant to package in addition to the .tar.xz. This affects Linux releases and PR-verify artifacts only. MSVC releases do not use this script to my knowledge.
13 lines
406 B
Bash
13 lines
406 B
Bash
#!/bin/bash -ex
|
|
|
|
# Copy documentation
|
|
cp license.txt "$DIR_NAME"
|
|
cp README.md "$DIR_NAME"
|
|
|
|
tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt
|
|
cp "${REV_NAME}-source.tar.xz" "$DIR_NAME"
|
|
|
|
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME"
|
|
|
|
# move the compiled archive into the artifacts directory to be uploaded by travis releases
|
|
mv "$ARCHIVE_NAME" "${ARTIFACTS_DIR}/"
|