Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: blmayer (bleemayer@gmail.com)
Date: Fri Oct 6 17:44:44 2023 -0300
Parent: fead500
Added mkdir
diff --git a/post-receive b/post-receive index b2f068b..b7cf6cd 100755 --- a/post-receive +++ b/post-receive @@ -260,6 +260,7 @@ creategomod() { git --work-tree="$TMP/dovel.email/$REPO@$1/" checkout -f main PREFIX="${OUT%/*}/dovel.email/$REPO" + [ -d "$PREFIX/@v" ] || mkdir -p "$PREFIX/@v" (cd "$TMP" && zip "$PREFIX/@v/$1.zip" -r * ) echo "{\"Version\":\"$1\"}" > "$PREFIX/@v/$1.info"