ソースを参照

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