autover 2.0.0 copy "autover: ^2.0.0" to clipboard
autover: ^2.0.0 copied to clipboard

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
110
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, logging, path, pub_semver, yaml

More

Packages that depend on autover