빌드 로그 업데이트
This commit is contained in:
parent
97a2025209
commit
53fd31f2ae
1 changed files with 2 additions and 1 deletions
|
|
@ -93,14 +93,15 @@ class BuildiOS extends Command {
|
||||||
for (var item in arr) {
|
for (var item in arr) {
|
||||||
if (item.contains(result)) {
|
if (item.contains(result)) {
|
||||||
targetBuildNumber = item.substring(item.indexOf(result) + result.length).trim();
|
targetBuildNumber = item.substring(item.indexOf(result) + result.length).trim();
|
||||||
print('Build Number: $targetBuildNumber');
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (targetBuildNumber == null) {
|
if (targetBuildNumber == null) {
|
||||||
throw Exception('Can not find target build number.');
|
throw Exception('Can not find target build number.');
|
||||||
}
|
}
|
||||||
|
Application.log('Current Build Number: $targetBuildNumber');
|
||||||
buildNumber = incrementVersion(targetBuildNumber);
|
buildNumber = incrementVersion(targetBuildNumber);
|
||||||
|
Application.log('New Build Number: $buildNumber');
|
||||||
}
|
}
|
||||||
|
|
||||||
String? target = data.target;
|
String? target = data.target;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue