diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-07-05 20:30:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 20:30:38 -0400 |
commit | 770611fdf39f274ee9ccde9875e86cfeb79a3f6f (patch) | |
tree | a580077f3b8f5ebbba6ee58ba594192f68ebdeea /.ci/scripts/common/post-upload.sh | |
parent | 07e3c56f0de7a1567b1ae443abb64b767a31ed8c (diff) | |
parent | 1524ff87d26e95f3fa722ca23eb30895e9b6f793 (diff) |
Merge pull request #8486 from liushuyu/github-actions-verify
CI: Use GitHub Actions to validate pull requests
Diffstat (limited to '.ci/scripts/common/post-upload.sh')
-rw-r--r-- | .ci/scripts/common/post-upload.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh index 387431564..a4e3070fd 100644 --- a/.ci/scripts/common/post-upload.sh +++ b/.ci/scripts/common/post-upload.sh @@ -4,8 +4,10 @@ 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" +if [[ -z "${NO_SOURCE_PACK}" ]]; then + tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt + cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" +fi tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME" |