소스 검색

Verify commit signature on HEAD before building from it.

Rob Austein 8 년 전
부모
커밋
f0321a0994
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      rpki-pbuilder.py

+ 1 - 0
rpki-pbuilder.py

@@ -102,6 +102,7 @@ except (IOError, OSError), e:
 
 run("git", "fetch", "--all", "--prune", cwd = args.git_tree)
 run("git", "pull",                      cwd = args.git_tree)
+run("git", "verify-commit", "HEAD",     cwd = args.git_tree)
 
 source_version = subprocess.check_output((sys.executable, os.path.join(args.git_tree, "buildtools/make-version.py"),
                                           "--build-tag", "--stdout"), cwd = args.git_tree).strip()