Skip to content

Commit 6e53a50

Browse files
committed
fix: wrong version bump
1 parent 50caa31 commit 6e53a50

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/screens/home.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DashboardScreen extends StatefulWidget {
3030
class _DashboardScreenState extends State<DashboardScreen> {
3131
// Nah, that's users choice, not ours
3232
bool checkUpdate = false;
33-
String currentVersion = "2.0.0";
33+
String currentVersion = "1.2.0";
3434
bool isUpdateAvailable = false;
3535

3636
@override

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 2.0.0+2
19+
version: 1.2.0+12
2020

2121
environment:
2222
sdk: ^3.7.2

windows/runner/Runner.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ IDI_APP_ICON ICON "resources\\app_icon.ico"
6363
#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
6464
#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
6565
#else
66-
#define VERSION_AS_NUMBER 2,0,0,0
66+
#define VERSION_AS_NUMBER 1,2,0,0
6767
#endif
6868

6969
#if defined(FLUTTER_VERSION)
7070
#define VERSION_AS_STRING FLUTTER_VERSION
7171
#else
72-
#define VERSION_AS_STRING "2.0.0"
72+
#define VERSION_AS_STRING "1.2.0"
7373
#endif
7474

7575
VS_VERSION_INFO VERSIONINFO

0 commit comments

Comments
 (0)