git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f853e
)
fix git commit hook checking for tags in manula sources
author
gggeek
<giunta.gaetano@gmail.com>
Sat, 7 Jan 2023 18:35:49 +0000
(18:35 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sat, 7 Jan 2023 18:35:49 +0000
(18:35 +0000)
.githooks/pre-push.sh
patch
|
blob
|
history
diff --git
a/.githooks/pre-push.sh
b/.githooks/pre-push.sh
index
3de0777
..
6dc2f00
100755
(executable)
--- 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})?'