post-upload.sh 406 B

12345678910111213
  1. #!/bin/bash -ex
  2. # Copy documentation
  3. cp license.txt "$DIR_NAME"
  4. cp README.md "$DIR_NAME"
  5. tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt
  6. cp "${REV_NAME}-source.tar.xz" "$DIR_NAME"
  7. tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME"
  8. # move the compiled archive into the artifacts directory to be uploaded by travis releases
  9. mv "$ARCHIVE_NAME" "${ARTIFACTS_DIR}/"