Commit 374b6c77 authored by Dirk Steinkopf's avatar Dirk Steinkopf

fix build_mode in getgitrevision after flutter upgrade

parent b2623720
......@@ -12,7 +12,7 @@ PODS:
- Flutter
DEPENDENCIES:
- Flutter (from `.symlinks/flutter/ios-release`)
- Flutter (from `.symlinks/flutter/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- location (from `.symlinks/plugins/location/ios`)
- package_info (from `.symlinks/plugins/package_info/ios`)
......@@ -21,7 +21,7 @@ DEPENDENCIES:
EXTERNAL SOURCES:
Flutter:
:path: ".symlinks/flutter/ios-release"
:path: ".symlinks/flutter/ios"
flutter_secure_storage:
:path: ".symlinks/plugins/flutter_secure_storage/ios"
location:
......
......@@ -289,7 +289,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
"${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework",
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
"${BUILT_PRODUCTS_DIR}/flutter_secure_storage/flutter_secure_storage.framework",
"${BUILT_PRODUCTS_DIR}/location/location.framework",
"${BUILT_PRODUCTS_DIR}/package_info/package_info.framework",
......
......@@ -10,6 +10,8 @@ GITHASH=$(git rev-parse --short HEAD)
GITMODIFIED=$(git diff --quiet HEAD || echo " M")
BUILD_VERSION_DETAILS=`echo "$BUILD_VERSION-$GITHASH$GITMODIFIED"`
build_mode="$(echo "${FLUTTER_BUILD_MODE:-${CONFIGURATION}}" | tr "[:upper:]" "[:lower:]")"
FULL_VERSION="$SEMANTICVERSION ($GITHASH$GITMODIFIED)"
cd "$BUILT_PRODUCTS_DIR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment