pubump 0.1.7 copy "pubump: ^0.1.7" to clipboard
pubump: ^0.1.7 copied to clipboard

A tool for making quick versioned changes to a Dart package.

pubump #

A tool for making quick versioned changes to a Dart package.

I found myself often doing this:

~ $ git add ...      # Stage a change.
~ $ vi pubspec.yaml  # Manually bump version to 1.3.0.
~ $ vi CHANGELOG.md  # Manually add "## 1.3.0 \n\n * Fix this and that"
~ $ git commit -m "1.3.0: Fix this and that"

This tool automates exactly those steps.

~ $ git add ...      # Stage a change.
~ $ pubump minor "Fix this and that"

Installing #

Clone this repository, then put alias pubump=/path/to/pubump/bin/main.dart in your .bashrc (or equivalent).

pubump needs the Dart VM to run.

Usage #

pubump [--push] [--publish] <major|minor|patch|build> "Changed X, Y, and Z"

  * Updates pubspec.yaml
  * Updates CHANGELOG.md
  * Makes a git commit
  * Runs `git push` (if -g or --push is passed)
  * Runs `pub publish` (if -p or --publish is passed)
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A tool for making quick versioned changes to a Dart package.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

args

More

Packages that depend on pubump