Skip to content

Commit e08d1df

Browse files
committed
[no ci] [chore] Fix release script ee tests skip
1 parent 975cb1b commit e08d1df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,15 @@ retry_step "make build" "make build"
9999

100100
# Step 3: EE Tests
101101
if [ -d $RA_ENTERPRISE_PATH ]; then
102+
current_dir=$(pwd)
102103
retry_step "Run the EE tests" "
103104
cp -r packages/* \$RA_ENTERPRISE_PATH/node_modules &&
104105
cd \$RA_ENTERPRISE_PATH &&
105106
rm -rf node_modules/react-admin/node_modules/@mui &&
106107
make build &&
107108
CI=true DEBUG_PRINT_LIMIT=3 make test
108109
"
109-
cd -
110+
cd "$current_dir"
110111
else
111112
manual_step "Run the EE tests" "
112113
Cannot find the $RA_ENTERPRISE_PATH folder in the repository parent directory

0 commit comments

Comments
 (0)