From efb228b665975334e99646d1c0274c8330442ee7 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 16 Mar 2024 21:55:01 +0100 Subject: [PATCH] Add gitea-tag --- plugins/gitea-tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gitea-tag b/plugins/gitea-tag index e0269a8..3e49ed7 100644 --- a/plugins/gitea-tag +++ b/plugins/gitea-tag @@ -26,7 +26,7 @@ plugin_getlatestversion() { local -r GITEAUSER=$(readSetting "${PKGSETTINGS}" "giteauser" "") local -r GITEAREPO=$(readSetting "${PKGSETTINGS}" "gitearepo" "") local GITEATAGNAME="" - if ! GITEATAGNAME=$(curl -sL "${GITEABASEURL}/repos/${GITEAUSER}/${GITEAREPO}/tags" | jq -r ".[0].name"); then + if ! GITEATAGNAME=$(curl -sL "${GITEABASEURL}/api/v1/repos/${GITEAUSER}/${GITEAREPO}/tags" | jq -r ".[0].name"); then echo "Error in Gitea API" return 1 fi