From 5299ce3fb27a7c20601bf0cb62355fa9fdb5058f Mon Sep 17 00:00:00 2001 From: Adam Janovsky Date: Mon, 25 Apr 2022 22:56:02 +0200 Subject: fix version check --- .github/workflows/draft_release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/draft_release.yml b/.github/workflows/draft_release.yml index 1d18367f..8cc05eba 100644 --- a/.github/workflows/draft_release.yml +++ b/.github/workflows/draft_release.yml @@ -17,11 +17,10 @@ jobs: run: echo "ACTUAL_VERSION=$(cat VERSION)" >> $GITHUB_ENV - name: Check versions run: | - if (!(${{env.PACKAGE_NUMBER}} = ${{github.ref_name}})) ; then + if (!(${{env.PACKAGE_NUMBER}} == ${{github.ref_name}})) ; then echo "Tag does not match version number in VERSION file" exit 1 fi - draft-release: runs-on: ubuntu-latest steps: -- cgit v1.3.1