From b099c6101ee160c50213c3e804bbed0d96fb75d0 Mon Sep 17 00:00:00 2001 From: liyi Date: Tue, 12 Aug 2025 10:39:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=EF=BC=8C=E4=B8=BA=E4=BA=86=E4=BF=AE=E5=A4=8Dci=E7=9A=84?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/fastlane/Fastfile | 1 + ios/fastlane/Fastfile | 1 + 2 files changed, 2 insertions(+) diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index bd6d5449..34d15e0e 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -63,6 +63,7 @@ platform :android do print_log "last_git_commit_short_hash #{short_hash}" remove_zone_pre_build(zone:"com") Dir.chdir "../.." do + sh("flutter","clean") sh("flutter","pub","get") sh("flutter", "build", "apk", "--no-tree-shake-icons", "--release", "--flavor", "sky_#{env}", "-t", "lib/main_sky_#{env}.dart", "--build-number=#{build_number}", "--build-name=#{build_version}") end diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index addeb50a..78d4d328 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -75,6 +75,7 @@ platform :ios do print_log "last_git_commit_short_hash #{short_hash}" remove_zone_pre_build(zone:"com") Dir.chdir "../.." do + sh("flutter","clean") sh("flutter","pub","get") end Dir.chdir ".." do