pubump library
Functions
-
coloredDiff()
→ Future<String>
-
-
die(String message)
→ void
-
Print an error message to STDERR and exit with exit code 1.
-
nothingStaged()
→ Future<bool>
-
Return
true
if no files are staged in git.
-
parseLevel(String levelString)
→ Level
-
-
pubump({bool push, bool publish, Level level, String message})
→ Future<void>
-
-
successfully(ProcessResult result)
→ ProcessResult
-
Expect a ProcessResult to be successful, aborting if it isn't.
-
updatePubspec(Level level)
→ Future<Version>
-
Update the working directory's pubspec by the given level.