• KyleWong's avatar
    Refactor build-number/build-name logic. (#27743) · 4b4a9400
    KyleWong authored
    This PR aims at several things:
    
    1. Use pub_semver to check a version in pubspec.yaml meets the requirements specified in https://semver.org/.
    2. Don't limit build-number/build-name as a fixed format. Instead, validate it according to the target(ios/android).
    3. Make sure that build-number/build-name are always validated no matter it's specified by the `flutter command` or version in pubspec.yaml.
    
    Fixes #27589
    4b4a9400
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...