File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,11 @@ if [ -z "$BRANCH_NAME" ]; then
4
4
echo " BRANCH_NAME is missing"
5
5
exit 1
6
6
else
7
+ # These are more of an extra caution to make sure we have latest commits
8
+ git checkout main
9
+ git pull origin main
7
10
git checkout $BRANCH_NAME
8
- git pull
11
+ git pull origin $BRANCH_NAME
9
12
git fetch --all
10
13
yarn install
11
14
git restore .
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " amplify-codegen" ,
3
3
"version" : " 4.1.7" ,
4
- "description" : " Amplify Code generator " ,
4
+ "description" : " Amplify Code Generator " ,
5
5
"repository" : {
6
6
"type" : " git" ,
7
7
"url" : " https://github.com/aws-amplify/amplify-codegen.git" ,
Original file line number Diff line number Diff line change @@ -319,7 +319,6 @@ function runE2eTest {
319
319
320
320
function _deploy {
321
321
echo " Deploy"
322
- loadCacheFromBuildJob
323
322
echo " Authenticate with NPM"
324
323
PUBLISH_TOKEN=$( echo " $NPM_PUBLISH_TOKEN " | jq -r ' .token' )
325
324
echo " //registry.npmjs.org/:_authToken=$PUBLISH_TOKEN " > ~ /.npmrc
You can’t perform that action at this time.
0 commit comments