From 315dad52035a19b5137b60b6dca6e99cc7686c71 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sat, 18 Feb 2023 10:51:51 -0300 Subject: [PATCH] bajar tar.gz en vez de clonar --- update-forgejo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-forgejo b/update-forgejo index adac8eb..e8927cd 100755 --- a/update-forgejo +++ b/update-forgejo @@ -8,7 +8,7 @@ runprint() { runprint apk add --quiet git nodejs npm go make # TODO: cachear clon de repo -runprint git clone https://codeberg.org/forgejo/forgejo --branch 8e8037a64d --depth 1 --single-branch +wget -qO- https://codeberg.org/forgejo/forgejo/archive/8e8037a64d76af498e4b3d2d5a44ec48fcc79afe.tar.gz | tar zx cd forgejo runprint env GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="bindata sqlite sqlite_unlock_notify" make build