Explorar el Código

Correct command when checking for tag

Christopher Mullins hace 7 años
padre
commit
bd9227630e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .prepare_release

+ 1 - 1
.prepare_release

@@ -6,7 +6,7 @@ prepare_log() {
   echo "[prepare release] -- $@"
 }
 
-if [ -z "$(git tag -l --points-at HEAD)" ]; then
+if ! git describe --exact-match HEAD 2>/dev/null; then
   prepare_log "Skipping non-tagged commit."
   exit 0
 fi