Files
Tuto-Devops-A---Z/gitea/gitea-data/git/repositories/oualim/test.git/hooks/pre-receive
Waloshi6 c8204829e9 init
2026-01-27 17:34:16 +01:00

17 lines
376 B
Bash

#!/usr/bin/env bash
# AUTO GENERATED BY GITEA, DO NOT MODIFY
data=$(cat)
exitcodes=""
hookname=$(basename $0)
GIT_DIR=${GIT_DIR:-$(dirname $0)/..}
for hook in ${GIT_DIR}/hooks/${hookname}.d/*; do
test -x "${hook}" && test -f "${hook}" || continue
echo "${data}" | "${hook}"
exitcodes="${exitcodes} $?"
done
for i in ${exitcodes}; do
[ ${i} -eq 0 ] || exit ${i}
done