Browse Source

fix: Update app version in `pubspec.yaml` (#2104)

* fix: Update app version in `pubspec.yaml`

* fix: Remove Build Number

- Removed unnecessary build number mentioned in the `pubspec.yaml`
Aman Negi 2 years ago
parent
commit
2a55febe62

+ 1 - 2
frontend/appflowy_flutter/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart

@@ -135,7 +135,6 @@ class FlowyVersionDescription extends CustomActionCell {
           PackageInfo packageInfo = snapshot.data;
           String appName = packageInfo.appName;
           String version = packageInfo.version;
-          String buildNumber = packageInfo.buildNumber;
 
           return SizedBox(
             height: 30,
@@ -149,7 +148,7 @@ class FlowyVersionDescription extends CustomActionCell {
                     thickness: 1.0),
                 const VSpace(6),
                 FlowyText(
-                  "$appName $version.$buildNumber",
+                  "$appName $version",
                   color: Theme.of(context).hintColor,
                 ),
               ],

+ 2 - 2
frontend/appflowy_flutter/pubspec.yaml

@@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
 # Read more about iOS versioning at
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
-version: 1.0.0+1
+version: 0.1.1
 
 environment:
   sdk: ">=2.18.0 <3.0.0"
@@ -89,7 +89,7 @@ dependencies:
   google_fonts: ^3.0.1
   file_picker: <=5.0.0
   percent_indicator: ^4.0.1
-  
+
   appflowy_editor_plugins:
     path: packages/appflowy_editor_plugins
   calendar_view: ^1.0.1