From cd79f47caa00bae9df832cb7757c36f4af53017b Mon Sep 17 00:00:00 2001 From: Neshura Date: Mon, 18 Dec 2023 07:50:58 +0000 Subject: [PATCH] Fix Version Check in Actions --- .forgejo/workflows/build+release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index d7f3bc7..96e61f8 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -19,7 +19,7 @@ jobs: - name: Check if Version in Cargo.toml matches Tag run: | - VERSION=$(cat src/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ") + VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ") if test $VERSION != "${{ github.ref_name }}"; then echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'"; exit 1