Created
November 26, 2018 01:35
-
-
Save digitalbocca/9a495dbfc43967ea44352fda23f35a45 to your computer and use it in GitHub Desktop.
Configuração para o controle de versão automatizado - npm git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.1.0", | |
"config": { | |
"commitMessage": "Automatizado o controle de versão" | |
}, | |
"scripts": { | |
"git": "npm run gst && npm run gad && npm run gco && npm run gta && npm run gpo", | |
"gst": "git status", | |
"gad": "git add .", | |
"gco": "cross-var git commit -m \"$npm_package_config_commitMessage\"", | |
"gta": "cross-var git tag v$npm_package_version", | |
"gpo": "git push origin master --tags" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment