From 24547f5324ef3f0dadb29f815252b463a1fdc93a Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Wed, 27 Nov 2024 23:10:43 +0100 Subject: [PATCH] fixed it --- .gitea/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 543b88f..6a01fa6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -42,9 +42,7 @@ jobs: - name: Check version match run: | REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_') - echo "${GITHUB_REF_NAME:1}" - cat DotnetTestLib/VERSION - if [ "$(cat DotnetTestLib/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then + if [ "$(cat DotnetTestLib/VERSION)" = "${GITHUB_REF_NAME}" ] ; then echo "Version matches successfully!" else echo "Version must match!"