From 681e39650b8b03cbb17ee7b570186d135d0f90e1 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 7 Aug 2021 12:24:15 -0400 Subject: [PATCH] Try to fix dots in tar --- .github/scripts/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index e3bb9850..9828d863 100644 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -79,12 +79,14 @@ ls -al $BASE_DIR/../ echo "Calling find" find $BASE_DIR/../ -type d -maxdepth 2 -tar -czf $TAR_NAME -C $BASE_DIR . +shopt -s dotglob +tar -czf $TAR_NAME -C $BASE_DIR * sha256sum $TAR_NAME >"$TAR_NAME.sha256" cd $BASE_DIR; zip -r $ZIP_NAME ./ sha256sum $ZIP_NAME >"$ZIP_NAME.sha256" + mv $ZIP_NAME /tmp mv "$ZIP_NAME.sha256" /tmp