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 18:01:22 2023 -0300
Parent: f941b11
Added go mod file
diff --git a/post-receive b/post-receive index 43417c0..5cdfd14 100755 --- a/post-receive +++ b/post-receive @@ -266,6 +266,7 @@ creategomod() { [ -d "$PREFIX/@v" ] || mkdir -p "$PREFIX/@v" (cd "$TMP" && find * -type f -print | zip -@ "$PREFIX/@v/$1.zip") echo "{\"Version\":\"$1\"}" > "$PREFIX/@v/$1.info" + cp "$TMP/dovel.email/$REPO@$1/go.mod" > "$PREFIX/@v/$1.mod" rm -rf "$TMP" }