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