From 12acf38e66b293dce01f86013051049996a1c4ed Mon Sep 17 00:00:00 2001 From: LEGRAND Francois Date: Thu, 7 Sep 2023 18:40:17 +0200 Subject: [PATCH] Test for tags --- scripts/hooks/update_rootfile_version.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/hooks/update_rootfile_version.py b/scripts/hooks/update_rootfile_version.py index 62779493..adb89946 100755 --- a/scripts/hooks/update_rootfile_version.py +++ b/scripts/hooks/update_rootfile_version.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 +# Pre commit script which will update the version number in $versionfile when $watchedfile is commited +# Fleg Sept 2023 -import subprocess -import sys, os versionfile = "grand/dataio/version" -watchedfile = "scripts/hooks/update_rootfile_version.py" +watchedfile = "grand/dataio/root_trees.py" def update_version(repo): from os.path import exists