Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/cloud-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
source $scriptDir/.env set

printf 'What is your PR number ? '
read PR_NUMBER
CURR_BRANCH=$(git branch --show-current)

if [[ -n $USE_FIDO_KEY ]] ; then
mwinit -s -f
Expand All @@ -18,7 +17,7 @@ RESULT=$(aws codebuild start-build-batch \
--region us-east-1 \
--project-name amplify-category-api-pr-workflow \
--build-timeout-in-minutes-override 180 \
--source-version "pr/$PR_NUMBER" \
--source-version "$CURR_BRANCH" \
--debug-session-enabled \
--git-clone-depth-override=1000 \
--environment-variables-override name=AMPLIFY_CI_MANUAL_PR_BUILD,value=true,type=PLAINTEXT \
Expand Down
Loading