code: function setVersion(versionType, versionFull) {
          versionType.version = versionFull;
          var versionArray = versionFull.split(".");
          if (versionArray.length > 0) {
              versionArray = versionArray.reverse();
              versionType.major = versionArray.pop();
              if (versionArray.length > 0) {
                  versionType.minor = versionArray.pop();
                  if (versionArray.length > 0) {
                      versionArray = versionArray.reverse();
                      versionType.patch = versionArray.join(".");
                  } else {
                      versionType.patch = "0";
                  }
              } else {
                  versionType.minor = "0";
              }
          } else {
              versionType.major = "0";
          }
      }
docs: set version based on versionFull