ci: cn、com区域打包逻辑分离。

This commit is contained in:
Liuyf 2025-01-11 14:57:02 +08:00
parent 997266c3bf
commit e42d4be863

View File

@ -115,7 +115,7 @@ platform :android do
# commit_hash = last_git_commit
# short_hash = commit_hash[:abbreviated_commit_hash]
# print_log "last_git_commit_short_hash #{short_hash}"
# remove_zone_pre_build(zone:"cn",extensions:".dart")
remove_zone_pre_build(zone:"cn",extensions:".dart")
Dir.chdir "../.." do
sh("flutter","pub","get")
#sh("flutter", "build", "appbundle", "--no-tree-shake-icons", "--release", "--flavor", "#{flavor}", "-t", "lib/main_#{flavor}_lite.dart", "--build-number=#{build_number}", "--build-name=#{build_version}")