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 bump code version #7

Closed francescopetrungaro closed 2 years ago

francescopetrungaro commented 2 years ago

I would like to bump code version. Example from 1.0.0+1 to 1.0.0+2

How can I do that?

davormaricdev commented 2 years ago

Bumping code version happens automatically behind the scenes when you use apply argument. Version is picked up from the timestamp of head commit and reduced by a hardcoded value

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