From: gggeek Date: Sat, 7 Jan 2023 18:35:49 +0000 (+0000) Subject: fix git commit hook checking for tags in manula sources X-Git-Tag: 4.9.4~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3376e0350e2287a9e3f1c29175685df258b9e77f;p=plcapi.git fix git commit hook checking for tags in manula sources --- diff --git a/.githooks/pre-push.sh b/.githooks/pre-push.sh index 3de07777..6dc2f005 100755 --- a/.githooks/pre-push.sh +++ b/.githooks/pre-push.sh @@ -38,7 +38,7 @@ # @todo we could allow the variables `files` and `version_tag_regexp` to be set via git config parameters instead of hardcoded # List of files which do contain the version tag -files='NEWS.md src/PhpXmlRpc.php doc/phpxmlrpc_manual.adoc' +files='NEWS.md src/PhpXmlRpc.php doc/manual/phpxmlrpc_manual.adoc' # Regexp use to decide if a git tag is a version label version_tag_regexp='^v?[0-9]{1,4}\.[0-9]{1,4}(\.[0-9]{1,4})?'