Commit 24887ce1c74eb3acab292f0bd6bd390d2070e08d

Authored by Diego Rabatone Oliveira
1 parent c3345347

Adicionando verificação nos scripts de geração e seleção de tag

Showing 2 changed files with 14 additions and 0 deletions   Show diff stats
scripts/generate_tag.sh
1 1 #!/bin/sh
2 2  
  3 +if [ $# -eq 0 ]; then
  4 + echo "No arguments supplied, exiting script"
  5 + echo "Please provide tag name as input parameter"
  6 + exit 0
  7 +fi
  8 +
3 9 function gerar_tag_master {
4 10 branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
5 11  
... ...
scripts/set_tag.sh
  1 +#!/bin/sh
  2 +
  3 +if [ $# -eq 0 ]; then
  4 + echo "No arguments supplied, exiting script"
  5 + echo "Please provide tag name as input parameter"
  6 + exit 0
  7 +fi
  8 +
1 9 function fetch_settag {
2 10  
3 11 git fetch --all
... ...