Um script para facilitar a criação de tags e versionamento do seu projeto no git.
commit-tagger -hUsage: commit-tagger [POSITIONAL] [OPTIONS]
Positional
[major|minor|patch|dev] The version you are updating
[dev] shall be used only to tag development commits
Options
-f|--file [file] The file where the version is stored. Default is .env
-c|--commit [commit] The commit you want to tag. Default is the last commit
-h|--help Show this help message
-
Clone o repositório
-
Crie um link simbólico para o script dentro do seu PATH
sudo ln -s $(pwd)/commit-tagger.sh /usr/local/bin/commit-tagger -
Execute o script dentro do seu projeto
cd /path/to/your/project commit-tagger -h
- Implementar a flag "--as-latest". Para que a versão mais recente seja também taggeada como "latest"
- Implementar auto-complete para o script