mirror of
https://github.com/flutter/packages.git
synced 2025-06-29 14:18:54 +08:00
update regex
This commit is contained in:
@ -21,14 +21,14 @@ fi
|
|||||||
|
|
||||||
if [[ "$CHANGED_PACKAGES" == "" ]]; then
|
if [[ "$CHANGED_PACKAGES" == "" ]]; then
|
||||||
echo "Running for all packages"
|
echo "Running for all packages"
|
||||||
if [[ grep -q "flutter" "${REPO_DIR}/pubspec.yaml"]]; then
|
if [[ grep -q "flutter:" "${REPO_DIR}/pubspec.yaml"]]; then
|
||||||
(cd "$REPO_DIR" && pub global run flutter_plugin_tools "${ACTIONS[@]}" $BUILD_SHARDING)
|
(cd "$REPO_DIR" && pub global run flutter_plugin_tools "${ACTIONS[@]}" $BUILD_SHARDING)
|
||||||
else
|
else
|
||||||
(cd "$REPO_DIR" && dartanalyzer . && pub get && pub run test && pub publish --dry-run)
|
(cd "$REPO_DIR" && dartanalyzer . && pub get && pub run test && pub publish --dry-run)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Running for ${CHANGED_PACKAGES}"
|
echo "Running for ${CHANGED_PACKAGES}"
|
||||||
if [[ grep -q "flutter" "${REPO_DIR}/pubspec.yaml"]]; then
|
if [[ grep -q "flutter:" "${REPO_DIR}/pubspec.yaml"]]; then
|
||||||
(cd "$REPO_DIR" && pub global run flutter_plugin_tools "${ACTIONS[@]}" --plugins="$CHANGED_PACKAGES" $BUILD_SHARDING)
|
(cd "$REPO_DIR" && pub global run flutter_plugin_tools "${ACTIONS[@]}" --plugins="$CHANGED_PACKAGES" $BUILD_SHARDING)
|
||||||
else
|
else
|
||||||
(cd "$REPO_DIR" && dartanalyzer . && pub get && pub run test && pub publish --dry-run)
|
(cd "$REPO_DIR" && dartanalyzer . && pub get && pub run test && pub publish --dry-run)
|
||||||
|
Reference in New Issue
Block a user