Skip to content

Commit

Permalink
ci: fix the logic for pulling arch from artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Sajid Imami <395482+AliSajid@users.noreply.github.com>
  • Loading branch information
AliSajid committed Mar 28, 2024
1 parent bc04434 commit e44fc09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tree artifacts
mkdir -p dist

# Copy binaries with the rust triple and go arch names to the dist folder
for arch in $(basename artifacts/*); do
for arch in $(ls artifacts); do
filename=$PREFIX-$arch
if [ -f "artifacts/$arch/$filename" ]; then
cp -v "artifacts/$arch/$filename" "dist/$filename"
Expand Down

0 comments on commit e44fc09

Please sign in to comment.