| .. | ||
| README.md | ||
| update_dumper_version.py | ||
tools/update_dumper_version.py
This helper updates the DUMPER_VERSION placeholder in
cpp_python_debug/core/gdb_dumper.py.
Usage examples:
1) Use version from package file
python tools/update_dumper_version.py
2) Force a version and commit the change
python tools/update_dumper_version.py --version 1.2.3 --commit
3) If you prefer a git pre-commit hook, add the following to .git/hooks/pre-commit
#!/bin/sh python tools/update_dumper_version.py || exit 1
Note: Git hooks are not versioned automatically; you can place an example hook
in tools/hooks/pre-commit.example and ask contributors to copy it to
.git/hooks/pre-commit.