Skip to content

Commit c359148

Browse files
committed
Fix set_version
1 parent f84921c commit c359148

File tree

5 files changed

+17
-27
lines changed

5 files changed

+17
-27
lines changed

app/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.8.20'
2+
ext.kotlin_version = '1.8.21'
33
ext.multidex_version = '2.0.1'
44
repositories {
55
google()

app/linux/debian/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: linwood-flow
2-
Version: 1.0.0
2+
Version: 0.1.0
33
Section: base
44
Priority: optional
55
Homepage: https://github.com/LinwoodDev/Flo

app/pubspec.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ packages:
261261
dependency: "direct dev"
262262
description:
263263
name: espresso
264-
sha256: "3fee4b5bc850eea6d9b8c08cb8f5f7aaf06172f583623771a42c56aa31a75b02"
264+
sha256: "1378a63ee1fecc3fc7c0ac22ba5d62df3783f5e8eacf7d0fb82898bee8430800"
265265
url: "https://pub.dev"
266266
source: hosted
267-
version: "0.3.0"
267+
version: "0.3.0+3"
268268
fake_async:
269269
dependency: transitive
270270
description:
@@ -367,10 +367,10 @@ packages:
367367
dependency: transitive
368368
description:
369369
name: flutter_plugin_android_lifecycle
370-
sha256: c224ac897bed083dabf11f238dd11a239809b446740be0c2044608c50029ffdf
370+
sha256: "2818f5233cf8fa5fc51f6d78ce0028feb4e7c18d0b6d40b57b91f366eea7e656"
371371
url: "https://pub.dev"
372372
source: hosted
373-
version: "2.0.9"
373+
version: "2.0.12"
374374
flutter_secure_storage:
375375
dependency: "direct main"
376376
description:
@@ -683,10 +683,10 @@ packages:
683683
dependency: transitive
684684
description:
685685
name: path_provider_android
686-
sha256: da97262be945a72270513700a92b39dd2f4a54dad55d061687e2e37a6390366a
686+
sha256: "3e58242edc02624f2c712e3f8bea88e0e341c4ae1abd3a6ff661318a3aefd829"
687687
url: "https://pub.dev"
688688
source: hosted
689-
version: "2.0.25"
689+
version: "2.0.26"
690690
path_provider_foundation:
691691
dependency: transitive
692692
description:
@@ -826,10 +826,10 @@ packages:
826826
dependency: transitive
827827
description:
828828
name: shared_preferences_android
829-
sha256: "7fa90471a6875d26ad78c7e4a675874b2043874586891128dc5899662c97db46"
829+
sha256: "5d7b3bd0400bdd0c03e59a3d3d5314651141a145b58196cd9018b12a2adc0c1b"
830830
url: "https://pub.dev"
831831
source: hosted
832-
version: "2.1.2"
832+
version: "2.1.3"
833833
shared_preferences_foundation:
834834
dependency: transitive
835835
description:
@@ -1111,10 +1111,10 @@ packages:
11111111
dependency: transitive
11121112
description:
11131113
name: url_launcher_android
1114-
sha256: a52628068d282d01a07cd86e6ba99e497aa45ce8c91159015b2416907d78e411
1114+
sha256: "40612cd31902fe46b5158693faa65781b1ca7adfb883d77fa6f0d6dcf0317d85"
11151115
url: "https://pub.dev"
11161116
source: hosted
1117-
version: "6.0.27"
1117+
version: "6.0.30"
11181118
url_launcher_ios:
11191119
dependency: transitive
11201120
description:
@@ -1127,10 +1127,10 @@ packages:
11271127
dependency: transitive
11281128
description:
11291129
name: url_launcher_linux
1130-
sha256: "206fb8334a700ef7754d6a9ed119e7349bc830448098f21a69bf1b4ed038cabc"
1130+
sha256: "207f4ddda99b95b4d4868320a352d374b0b7e05eefad95a4a26f57da413443f5"
11311131
url: "https://pub.dev"
11321132
source: hosted
1133-
version: "3.0.4"
1133+
version: "3.0.5"
11341134
url_launcher_macos:
11351135
dependency: transitive
11361136
description:
@@ -1159,10 +1159,10 @@ packages:
11591159
dependency: transitive
11601160
description:
11611161
name: url_launcher_windows
1162-
sha256: a83ba3607a507758669cfafb03f9de09bf6e6280c14d9b9cb18f013e406dcacd
1162+
sha256: "254708f17f7c20a9c8c471f67d86d76d4a3f9c1591aad1e15292008aceb82771"
11631163
url: "https://pub.dev"
11641164
source: hosted
1165-
version: "3.0.5"
1165+
version: "3.0.6"
11661166
vector_math:
11671167
dependency: transitive
11681168
description:

app/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dev_dependencies:
7373
sdk: flutter
7474
freezed: ^2.3.2
7575
json_serializable: ^6.6.1
76-
espresso: ^0.3.0
76+
espresso: ^0.3.0+3
7777
dependency_overrides:
7878
collection: 1.17.1
7979
path: 1.8.3

tools/set_version.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Future<void> main(List<String> args) async {
5353

5454
await updateAppImageVersion(version);
5555
await updateDebianVersion(version);
56-
await updateSnapcraftVersion(version);
5756
if (results['changelog']) {
5857
var changelogFile =
5958
File('fastlane/metadata/android/en-US/changelogs/$newBuildNumber.txt');
@@ -83,15 +82,6 @@ Future<void> updateDebianVersion(String version) async {
8382
print('Successfully updated debian version to $version');
8483
}
8584

86-
Future<void> updateSnapcraftVersion(String version) async {
87-
var file = File('app/snap/snapcraft.yaml');
88-
var lines = await file.readAsLines();
89-
lines[1] = 'version: $version';
90-
lines.add('');
91-
await file.writeAsString(lines.join('\r\n'));
92-
print('Successfully updated snapcraft version to $version');
93-
}
94-
9585
bool isPreRelease(String version) {
9686
return version.contains('-');
9787
}

0 commit comments

Comments
 (0)