简体   繁体   English

我是 flutter 的新用户,你能帮忙吗

[英]im new to flutter , can you help please

I want to upload a new version of the application我想上传新版本的应用程序

this is my pubspec.yaml这是我的 pubspec.yaml

version: 1.0.0+1版本:1.0.0+1

i dont now how to make it should i change it to???我现在不知道怎么做,我应该把它改成吗???

version: 1.0.1+1版本:1.0.1+1

The version in flutter apps tries to follow the software versioning system, this means: flutter 应用程序中的版本尝试遵循软件版本控制系统,这意味着:

major.minor.patch+build主要.次要.补丁+构建

So if you are on major = 2, minor = 0, patch=13 and build = 4, it would be: 2.0.13+4因此,如果您在 major = 2、minor = 0、patch=13 和 build = 4 上,它将是:2.0.13+4

Now, the semantics for this are:现在,它的语义是:

MAJOR version when you make incompatible API changes.进行不兼容的 API 更改时的主要版本。 MINOR version when you add functionality in a backwards compatible manner.以向后兼容的方式添加功能时的 MINOR 版本。 PATCH version when you make backwards compatible bug fixes.进行向后兼容的错误修复时的 PATCH 版本。

https://semver.org/ https://semver.org/

And build is for different compilations for a single code base, that could be that you are ready to upload your application and found out about a bug, then you do the cahnge and only increase the build number.构建是针对单个代码库的不同编译,这可能是您准备好上传您的应用程序并发现了一个错误,然后您进行了更改并且只增加了构建编号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM