[build] upload node.sh

Signed-off-by: Leo Chen <leo@harmony.one>
pull/2891/head
Leo Chen 5 years ago
parent dbd813f9fb
commit 4296905438
  1. 5
      scripts/go_executable_build.sh

@ -183,6 +183,8 @@ function upload
[ -e $BINDIR/$bin ] && $AWSCLI s3 cp $BINDIR/$bin s3://${BUCKET}/$FOLDER/$bin --acl public-read
done
# copy node.sh
$AWSCLI s3 cp scripts/node.sh s3://${BUCKET}/$FOLDER/node.sh --acl public-read
[ -e $BINDIR/md5sum.txt ] && $AWSCLI s3 cp $BINDIR/md5sum.txt s3://${BUCKET}/$FOLDER/md5sum.txt --acl public-read
}
@ -232,6 +234,9 @@ function release
fi
done
# copy node.sh
$AWSCLI s3 cp scripts/node.sh s3://${BUCKET}/$FOLDER/node.sh --acl public-read
[ -e $BINDIR/md5sum.txt ] && $AWSCLI s3 cp $BINDIR/md5sum.txt s3://${PUBBUCKET}/$FOLDER/md5sum.txt --acl public-read
}

Loading…
Cancel
Save