File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ build_insiders_wheels() {
2929 local wheels_dir=" insiders-wheels"
3030 local build_failures=0
3131 local build_successes=0
32+ local workspace_root=$( pwd)
3233
3334 log_info " Building insiders wheels..."
3435
@@ -66,8 +67,8 @@ build_insiders_wheels() {
6667 result=$?
6768
6869 if [ $result -eq 0 ]; then
69- # Move wheel to wheels directory
70- find dist/ -name " *.whl" -exec cp {} " ../.. /$wheels_dir /" \;
70+ # Move wheel to wheels directory using absolute path
71+ find dist/ -name " *.whl" -exec cp {} " $workspace_root /$wheels_dir /" \;
7172 log_success " Built $package_name successfully"
7273 (( build_successes++ ))
7374 else
@@ -76,7 +77,7 @@ build_insiders_wheels() {
7677 fi
7778
7879 # Return to workspace root
79- cd - > /dev/null
80+ cd " $workspace_root "
8081 done
8182
8283 # Check if any wheels were built successfully
You can’t perform that action at this time.
0 commit comments