Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: blmayer (bleemayer@gmail.com)
Date: Mon Oct 2 14:17:04 2023 -0300
Parent: 023412a
Fixed tag path
diff --git a/post-receive b/post-receive
index 58046d6..7ce8aaf 100755
--- a/post-receive
+++ b/post-receive
@@ -34,7 +34,7 @@ do
# check repo for go mod
tag="${ref#refs/tags/}"
- find tree/ -name go.mod && .hooks/create-go-mod "$tag"
+ find "$OUT/$REPO/tree/" -name go.mod && .hooks/create-go-mod "$tag"
;;
*) echo "Ref $ref received. Doing nothing." ;;
esac