修复 pubspbec.lock 文件编译的时候被修改的 bug,必须要保持锁定,除非主动升级

This commit is contained in:
Cody
2026-03-06 17:57:42 +08:00
parent b3b0b9cf05
commit 7ffaee7469
5 changed files with 65 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ if [ "$FORMAT" = "aab" ]; then
cd "$APP_DIR"
flutter build appbundle \
--release \
--no-pub \
--dart-define-from-file=config/config.json \
--split-debug-info="$DEBUG_INFO_DIR" \
--obfuscate
@@ -57,6 +58,7 @@ else
cd "$APP_DIR"
flutter build apk \
--release \
--no-pub \
--dart-define-from-file=config/config.json \
--split-debug-info="$DEBUG_INFO_DIR" \
--obfuscate