From bbe76c29ab81a2ee7405e994b984f9e891bb8797 Mon Sep 17 00:00:00 2001 From: konsthol Date: Sun, 15 Dec 2024 01:15:50 +0200 Subject: [PATCH] Shit code! --- .gitea/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index cff51a5..4e295e5 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -57,4 +57,4 @@ jobs: curl --data-binary "@app/dist/wolServer" \ -H "Authorization: token ${{ secrets.mytoken }}" \ -H "Content-Type: application/octet-stream" \ - "https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/assets?name=wolServer" + "https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/latest | jq -r '.id')/assets?name=wolServer"