Skip to content

Commit 03aafdb

Browse files
committed
hotfix: insiders wheel deployment final fixes
1 parent e6b4800 commit 03aafdb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/publish-insiders-wheels

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)