mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
dc56eb99f1
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34713 Changelog: [Internal] - Fix up missing bots usage after we moved everything to packages/react-native-bots in https://github.com/facebook/react-native/commit/767f8e0249618e78c07758c7fd27be6ebaf27610 Reviewed By: NickGerleman Differential Revision: D39583230 fbshipit-source-id: 6cc6b7923e67139dc3c81dfe0c39005dde905248
20 lines
612 B
Bash
Executable File
20 lines
612 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
case $1 in
|
|
"android" | "ios")
|
|
GITHUB_OWNER=${CIRCLE_PROJECT_USERNAME:-facebook} \
|
|
GITHUB_REPO=${CIRCLE_PROJECT_REPONAME:-react-native} \
|
|
GITHUB_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}" \
|
|
GITHUB_REF=${CIRCLE_BRANCH} \
|
|
GITHUB_SHA=${CIRCLE_SHA1} \
|
|
exec node packages/react-native-bots/report-bundle-size.js "$1"
|
|
;;
|
|
*)
|
|
echo "Syntax: $0 [android | ios]"
|
|
exit 1
|
|
esac
|