autover

Creator: coderz1093

Last updated:

0 purchases

autover Image
autover Images

Languages

Categories

Add to Cart

Description:

autover

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"]
copied to clipboard

Create 'version.dart.template' file

class ApplicationInfo{
final String frontendVersion = '_FRONT_';
final String backendVersion = '_BACK_';
}
copied to clipboard
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';
}
copied to clipboard
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';
}
copied to clipboard
Features #

Change pubspec.yaml
Support for changes 'major', 'minor', 'patch', 'build'
Generate files with version

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.