From 7c719547ee7a0959435373d4887219e524c95f29 Mon Sep 17 00:00:00 2001 From: lmq8267 <119713693+lmq8267@users.noreply.github.com> Date: Fri, 19 Jan 2024 18:21:09 +0800 Subject: [PATCH] Update Makefile --- caddy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy/Makefile b/caddy/Makefile index 40b4f03..c03060e 100644 --- a/caddy/Makefile +++ b/caddy/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=caddy -PKG_VERSION:=2.7.6 +PKG_VERSION:=$(shell curl -L -k https://github.com/caddyserver/caddy/releases/latest | grep -o -E "v[0-9]+\.[0-9]+\.[0-9]+" | head -n 1 | cut -c 2-) PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz