/* global target */

"use strict";

require("shelljs/make");

function release(type){
    exec("echo Bumping up the version");
    exec("npm version " + type);

    exec("echo Commiting master with tags");
    exec("git add package.json");
    exec("git commit --amend --no-edit");
    exec("git push origin --tags");

    exec("echo Publish on NPM");
    exec("npm publish");

    exec("echo Operation done.");
}

target.patch = function(){
    //release("patch");
    console.log("hi");
};

target.minor = function(){
    release("minor");
};

target.major = function(){
    release("major");
};

/* global target */

"use strict";

require("shelljs/make");

function release(type){
    exec("echo Bumping up the version");
    exec("npm version " + type);

    exec("echo Commiting master with tags");
    exec("git add package.json");
    exec("git commit --amend --no-edit");
    exec("git push origin --tags");

    exec("echo Publish on NPM");
    exec("npm publish");

    exec("echo Operation done.");
}

target.patch = function(){
    release("patch");
};

target.minor = function(){
    release("minor");
};

target.major = function(){
    release("major");
};

Remove commented code form release process
Fix: Remove commented code form release process
