fastlane-plugin-flutter_ios_integrate 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 586da22ece52689df58e1eac02cda4ce3a08da040319d6a9fb859b4dd2e76f56
4
- data.tar.gz: 142a4ca188e4ec17a954b9a9d44812eed708c59825d0798d5607b8bef70e6d1b
3
+ metadata.gz: a7817e0b9ab9d36302e981771751aae015ceed21c3a02f21f26c77a7d9653492
4
+ data.tar.gz: 81c5de952478212bb71bca8ad9573b831209175921fa2a333757c73beb8fc2b3
5
5
  SHA512:
6
- metadata.gz: 4d2b75f1d235f89b51256270f4dc3031a6e0a7c70167aa8abdc7b1c11d8fcd9d7cc522a11d947f1284c70616397605cf2d8fe63b1d54d096ac8ec16c953fab18
7
- data.tar.gz: e2fbdf688a0c8ddcba0a0355c1d19a79901e4151900edc14b67a84b6a8dfdffbded7974892d57d23804e1ef3558e8d228b7814ce1ddbaf99603b8981cf50eb84
6
+ metadata.gz: c581611af68f3f692db99fa8bedcd5a232b763a8f01f8a9b4680e798e963db1e71c859d15f9d322cd8f4f2a533a01d2d8ed1034213e81e946c976a2bd001d668
7
+ data.tar.gz: 1ffb267bfd8c02e3febdece63b8a159451e6f335b3732891bd46243683c7a202da499351e6d4ef93fc44eddc3509c14e682c1317dff48e1093e795d2912bdffc
@@ -12,11 +12,8 @@ module Fastlane
12
12
 
13
13
  UI.message(" ===== Flutter 构建开始 ===== ")
14
14
 
15
- # 进入 submodule 目录
16
- Action.sh("cd " + param_flutter_path)
17
-
18
- # 清空未提交的内容
19
- Action.sh("git reset --hard")
15
+ # 清空未提交的内容 / 清空子模块为提交的内容
16
+ Action.sh("git reset --hard;git submodule foreach --recursive git reset --hard")
20
17
 
21
18
  # 初始化 submodule
22
19
  other_action.git_submodule_update(recursive: true, init: true)
@@ -24,8 +21,11 @@ module Fastlane
24
21
  # 从远端更新 submodule
25
22
  Action.sh("git submodule update --remote")
26
23
 
24
+ # Flutter 编译命令
25
+ flutter_build_command = "cd " + param_flutter_path + ";flutter pub get"
26
+
27
27
  # Pub Get
28
- flutter_build_result = Action.sh("flutter pub get")
28
+ flutter_build_result = Action.sh(flutter_build_command)
29
29
  UI.message "#{flutter_build_result}"
30
30
 
31
31
  # Debug 打包时替换 Flutter build 模式命令
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FlutterIosIntegrate
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter_ios_integrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler