autover 1.0.2

Dart native
Flutter Android iOS

Auto version increment. Auto-increment version in pubspec.yaml for multiple projects. It generate file by template with projects versions

autover #

Auto version increment.

Getting Started #

  • Create yaml config file.
autover:
  projects:
      backend:
          path: '../backend'
          match_token: '_BACK_'
      frontend:
          path: '../dslideshow_flutter'
          match_token: '_FRONT_'
  targets: ["../common/lib/version.dart.template"]
  • Create 'version.dart.template' file
class ApplicationInfo{
  final String frontendVersion = '_FRONT_';
  final String backendVersion = '_BACK_';
}
For build increment
  • Run 'dart bin/main.dart -c autover.yaml -v build --apply true'
  • Profit (generated 'version.dart' )
class ApplicationInfo{
  final String frontendVersion = '1.0.0+2';
  final String backendVersion = '1.0.2+20';
}
For major increment
  • Run 'dart bin/main.dart -c autover.yaml -v major --apply true'
  • Profit (generated 'version.dart' )
class ApplicationInfo{
  final String frontendVersion = '2.0.0';
  final String backendVersion = '2.0.0';
}

Features #

  • Change pubspec.yaml
  • Support for changes 'major', 'minor', 'patch', 'build'
  • Generate files with version
0
likes
70
pub points
0%
popularity

Auto version increment. Auto-increment version in pubspec.yaml for multiple projects. It generate file by template with projects versions

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

igor.demyanov@gmail.com

License

MIT (LICENSE)

Dependencies

args, logging, path, pub_semver, yaml

More

Packages that depend on autover