瀏覽代碼

Fix Makefile to ignore gpg signatures in commits

Patrick Decat 4 年之前
父節點
當前提交
4d9066a58d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -1,6 +1,6 @@
 default_target: amd64_frigate
 
-COMMIT_HASH := $(shell git log -1 --pretty=format:"%h")
+COMMIT_HASH := $(shell git log -1 --pretty=format:"%h"|tail -1)
 
 version:
 	echo "VERSION='0.8.0-$(COMMIT_HASH)'" > frigate/version.py