From 937c0e09cc6c33d97c786ebe357fc7c10cc8173d Mon Sep 17 00:00:00 2001 From: Jose Raul Barreras <barreras@unl.edu> Date: Thu, 30 May 2019 16:36:42 -0500 Subject: [PATCH] add git hooks --- .dev/hooks/pre-commit | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 .dev/hooks/pre-commit diff --git a/.dev/hooks/pre-commit b/.dev/hooks/pre-commit new file mode 100755 index 0000000..89ebbe8 --- /dev/null +++ b/.dev/hooks/pre-commit @@ -0,0 +1,2 @@ +#!/bin/sh +exec make update_readme diff --git a/README.md b/README.md index b946396..e0a6196 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,4 @@ This file is automatically updated after execute `git commit` based on the conte - its-registry.unl.edu/unl-its/docker-ci/static-code-analysis:python - _Last update: Thu May 30 16:29:28 CDT 2019_ + _Last update: Thu May 30 16:36:42 CDT 2019_ -- GitLab