build.js
function tagRepo(version) {
    if (SHOULD_PUBLISH) {
        shell.exec(`git tag ${version}`);
        shell.exec("git push origin --tags");
    } else {
        console.log(`\n\nWould publish git tag as version ${version}.`);
    }
}
function tagRepo(version) {
    if (SHOULD_PUBLISH) {
        shell.exec(`git tag ${version}`);
        shell.exec("git push origin --tags");
    } else {
        console.log(`\n\nWould publish git tag as version ${version}.`);
    }
}
function tagRepo ( version ) { if ( SHOULD_PUBLISH ) { shell . exec ( ` ${ version } ` ) ; shell . exec ( "git push origin --tags" ) ; } else { console . log ( ` \n \n ${ version } ` ) ; } }
Tag the repo with the current version that we're publishing
Tag the repo with the current version that we re publishing