anchor.diff:              var old = pubspec["version"];
   
               var next = null;
  -            
  +
               if (ctx.arguments.rest.length != 1) {
  +              try {
                   next = incrementVersion(old);
  +              } catch (e) {
  +                ctx.fail("${e}");
  +                return;
  +              }
               } else {
                   next = ctx.arguments.rest[0];
               }
  
positive.code: }
  
  String incrementVersion(String old) {
      List<String> split = old.split(".");
      int major = int.parse(split[0]);
      int minor = int.parse(split[1]);
      int bugfix = int.parse(split[2]);
      if (bugfix == 9) {
          bugfix = 0;
          minor++;
  
negative.code: part of hop_runner;
  
  var VERSION_REGEX = new RegExp(r"^(\d+)\.(\d+)\.(\d+)$");
  
  Task createVersionTask() {
      return new Task((TaskContext ctx) {
  