Skip to content

Commit a8257fd

Browse files
committed
Renamed script name
1 parent 168768a commit a8257fd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ void main() {
1212
final pubspec = loadYaml(pubspecContent);
1313

1414
final version = pubspec['version'] as String;
15-
if (version == null) {
16-
print('Version not found in pubspec.yaml');
17-
exit(1);
18-
}
1915

2016
final versionParts = version.split('+');
2117
if (versionParts.length != 2) {
@@ -25,6 +21,7 @@ void main() {
2521

2622
final versionName = versionParts[0];
2723
final versionCode = versionParts[1];
24+
print("$versionParts");
2825

2926
updateAndroidVersion(versionName, versionCode);
3027
// updateIOSVersion(versionName, versionCode);

0 commit comments

Comments
 (0)