Skip to content

Commit

Permalink
undo last commit
Browse files Browse the repository at this point in the history
Signed-off-by: Anton-4 <[email protected]>
  • Loading branch information
Anton-4 authored Jul 22, 2023
1 parent d005cca commit d66055b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ci/basic_nightly_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ set -euxo pipefail
# temp test
zig version


# Remove everything in this dir except the tar and ci folder.
# We want to test like a user who would have downloaded the release, so we clean up all files from the repo checkout.
to_delete=$(ls | grep -v "roc_nightly.*tar\.gz" | grep -v "^ci$")

# if to prevent unset vars errror
if [ -n "$to_delete" ]; then
if [ -n "$(ls | grep -v "roc_nightly.*tar\.gz" | grep -v "^ci$")" ]; then

# Remove everything in this dir except the tar and ci folder.
# We want to test like a user who would have downloaded the release, so we clean up all files from the repo checkout.
to_delete=$(ls | grep -v "roc_nightly.*tar\.gz" | grep -v "^ci$")

for file_or_dir in $to_delete
do
Expand Down

0 comments on commit d66055b

Please sign in to comment.