Skip to content

Commit

Permalink
fix: help windows users with running e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vieltojarvi committed Oct 23, 2024
1 parent 65c4d3a commit c3a590c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/cloud-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ function cloudE2EBeta {
}
function cloudE2E {
echo Running Prod E2E Test Suite
export TARGET_BRANCH=run-cb-e2e/$USER/$CURR_BRANCH
if [[-z "$USER"]]; then
export TARGET_BRANCH=run-cb-e2e/$USER/$CURR_BRANCH
else
export TARGET_BRANCH=run-cb-e2e/$USERNAME/$CURR_BRANCH
fi
git push $(git remote -v | grep aws-amplify/amplify-cli | head -n1 | awk '{print $1;}') $CURR_BRANCH:$TARGET_BRANCH --no-verify --force-with-lease
triggerProjectBatch $E2E_ACCOUNT_PROD $E2E_ROLE_NAME "${E2E_PROFILE_NAME}Prod" $E2E_PROJECT_NAME $TARGET_BRANCH
}

0 comments on commit c3a590c

Please sign in to comment.