瀏覽代碼

Re-enable tagged commit check

Christopher Mullins 6 年之前
父節點
當前提交
4830eddc87
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      .prepare_docs

+ 4 - 4
.prepare_docs

@@ -21,10 +21,10 @@ prepare_docs_log() {
 }
 
 # Only run for tagged commits
-# if [ -z "$(git tag -l --points-at HEAD)" ]; then
-  #prepare_docs_log "Skipping non-tagged commit."
-  #exit 0
-# fi
+if [ -z "$(git tag -l --points-at HEAD)" ]; then
+  prepare_docs_log "Skipping non-tagged commit."
+  exit 0
+fi
 
 DOCS_DIR="./docs"
 DIST_DIR="./dist/docs"