list

scripts

Repo containing scripts to be used with dovel, and git hooks that powers our web interface.

curl -O https://dovel.email/scripts.tar tar

a07b24b

Author: blmayer (bleemayer@gmail.com)

Date: Fri Oct 6 16:58:14 2023 -0300

Parent: 191c7e6

Fixed zip

Diff

post-receive

diff --git a/post-receive b/post-receive
index 0613aaf..2b9b969 100755
--- a/post-receive
+++ b/post-receive
@@ -258,7 +258,7 @@ creategomod() {
 	TMP="$(mktemp -d)"
 	mkdir -p "$TMP/dovel.email/$REPO@$1"
 	git --work-tree="$TMP/dovel.email/$REPO@$1/" checkout -f main
-	(cd "$TMP" && zip "$OUT/@v/$1" -r * )
+	(cd "$TMP" && zip "$OUT/@v/$1.zip" -r * )
 
 	[ -d "$OUT/@latest" ] || mkdir -p "$OUT/@latest"
 	cp "$OUT/@v/$1.zip" "$OUT/@latest/"