소스 검색

Correct command when checking for tag

Christopher Mullins 7 년 전
부모
커밋
bd9227630e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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