diff options
| author | winter | 2025-01-19 19:33:51 +0000 |
|---|---|---|
| committer | winter | 2025-01-19 19:33:51 +0000 |
| commit | 2d9bd87fb1c565ee161f93219ce2533e8dbffe06 (patch) | |
| tree | 030099baf7d17b3b25bc4916d101ce5239732a32 /bin | |
| parent | 77ba95515ed32c1a209ae341b4f716dbcd46f2a6 (diff) | |
install update-version hook on post-merge
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/init | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,9 +9,10 @@ fi if [ -d .git ]; then # seems likely we are running inside a git clone rather than an exported archive - # install the hook so that version info is updated on every commit/checkout + # install the hook so that version info is updated on every commit/checkout/pull ln -s ../../bin/update-version .git/hooks/post-commit ln -s ../../bin/update-version .git/hooks/post-checkout + ln -s ../../bin/update-version .git/hooks/post-merge # and run it now bin/update-version fi |
