dpp 1.1.19
dpp: ^1.1.19 copied to clipboard
A better dart pub publish. Before publish, runs tests, fixes, lint, updates CHANGELOG, pubspec file and git commands.
A better dart pub publish, by running tests, fixes, lint, update CHANGELOG file and git commands.
Using globally as CLI #
dart pub global activate dpp
Using internaly in only one project #
dart pub add dpp
void main() {
final pubPublisher = DartPubPublish(git: false);
// Publish a new version with default message
pubPublisher.run('1.2.0'); // default message: 'Update version number'
// Publish a new version with a changelog message
pubPublisher.run('1.3.0', message: 'Added a new feature');
print('Package published!');
}
LICENSE #
CONTRIBUTE #
If you have an idea for a new feature or have found a bug, just do a pull request (PR).