summaryrefslogtreecommitdiff
path: root/hooks/update
blob: 90b0c6b8d7381e44141dcc3e6efd4693bda09dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# GitLab update hook -- do not modify!
# To add your own update hook, create an update.local executable

hooks_dir="$(cd `dirname $0` && pwd)"
update_gitlab="$hooks_dir/update.gitlab"
update_local="$hooks_dir/update.local"

$update_gitlab "$@" || exit 1

if [ -x $update_local ]; then
  $update_local "$@" || exit 1
fi