diff --git a/Makefile b/Makefile
index 4f241dde0..9d0a92bdf 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ endif
 STORED_VERSION_FILE := VERSION
 HUGO_VERSION ?= 0.111.3
 
-GITEA_COMPATIBILITY ?= 1.22.0
+GITEA_COMPATIBILITY ?= gitea-1.22.0
 
 STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null)
 ifneq ($(STORED_VERSION),)