Skip to content

Commit

Permalink
properly handle missing ones
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Aug 14, 2023
1 parent 8470410 commit ab684b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/app-test-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,11 @@ jobs:
- name: 'separate release and internal-release artifacts'
run: |
for variant in release internal-release ; do
echo "Moving ${variant} builds ./artifacts/opentrons-${variant}-*/* to to_upload_${variant}"
variant_pattern="./artifacts/opentrons-${variant}-*"
ls ${variant_pattern}/ 2>/dev/null 1>/dev/null || break
echo "Moving ${variant} builds ${variant_pattern}/* to to_upload_${variant}"
mkdir to_upload_${variant}
cp ./artifacts/opentrons-${variant}-*/* ./to_upload_${variant}
cp ./artifacts/${variant_pattern}/* ./to_upload_${variant}/
echo "Moved $(ls ./to_upload_${variant})"
done
- name: 'configure s3 deploy creds'
Expand Down

0 comments on commit ab684b6

Please sign in to comment.