From 213331e30ff729d7f857bdbeb2f9c9b8523a0b75 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Wed, 27 Nov 2024 21:41:52 +0100 Subject: [PATCH] more bugs fixed --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 31ef3fe..9a0340c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -46,7 +46,7 @@ jobs: - name: Check version match run: | REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_'') - if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then + if [ "$(cat $REPOSITORY_NAME/$REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then echo "Version matches successfully!" else echo "Version must match!"