rubiconba / fastlane-plugin-flutter-version-manager

Fastlane plugin that is used to manage app versioning of Flutter project
MIT License
35 stars 11 forks source link

How to increase the version code by one and not use the git hash? #6

Closed Morteza-Rastgoo closed 3 years ago

Morteza-Rastgoo commented 3 years ago

I used

lane :bump_patch do
  flutter_version_manager(
    arguments: "-patch",
    yml: "./version.yml",
    pubspec: "./example_pubspec.yaml")
end

to only bump patch and not to have a huge number as version code. Instead, can we just increase the version code by 1?

davormaricdev commented 3 years ago

You can do it manually, however, that defeats the whole purpose of this library which is not carrying about version code at all.