summaryrefslogtreecommitdiff
path: root/src/ci/git-pre-receive.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-07-22 10:34:33 -0300
committerEuAndreh <eu@euandre.org>2024-07-22 10:34:33 -0300
commit87d9b3ab42a37c0c7ec0c056a8a197dc0f7e723b (patch)
treeae585c974fc8fe9b3fe2e06d3405a84f151da777 /src/ci/git-pre-receive.sh
parentrm src/web/index.html (diff)
downloadasami-87d9b3ab42a37c0c7ec0c056a8a197dc0f7e723b.tar.gz
asami-87d9b3ab42a37c0c7ec0c056a8a197dc0f7e723b.tar.xz
rm -rf src/ci/
Diffstat (limited to 'src/ci/git-pre-receive.sh')
-rwxr-xr-xsrc/ci/git-pre-receive.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ci/git-pre-receive.sh b/src/ci/git-pre-receive.sh
deleted file mode 100755
index 051aec5..0000000
--- a/src/ci/git-pre-receive.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-set -eu
-
-read -r _oldrev SHA _refname
-unset GIT_DIR
-
-if [ "$SHA" = '0000000000000000000000000000000000000000' ]; then
- exit
-fi
-
-printf 'Upgrading post-receive hook...' >&2
-git show "$SHA":src/ci/git-post-receive.sh > hooks/post-receive
-chmod +x hooks/post-receive
-printf 'done.\n' >&2