function tag(version) {
    let res = childProcess.spawnSync("git", [ "tag", version ]);
    console.log(res.stdout.toString().trim());
}
Create a tag with the specified version
@param {string} version Tag to create
@returns {void}