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!"