From 7717009f5a81a6dd63550cebe66f35b001c24e17 Mon Sep 17 00:00:00 2001
From: Dominic Reber <dominic@aica.tech>
Date: Mon, 29 Jul 2024 18:07:08 +0200
Subject: [PATCH] fix: version parsing

---
 .github/workflows/reusable-build-push.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/reusable-build-push.yml b/.github/workflows/reusable-build-push.yml
index 91a6dc0..0b4f7e3 100644
--- a/.github/workflows/reusable-build-push.yml
+++ b/.github/workflows/reusable-build-push.yml
@@ -43,7 +43,7 @@ jobs:
           echo "prev_version=${PREV_VERSION}" >> $GITHUB_OUTPUT
           echo "new_version=${NEW_VERSION}" >> $GITHUB_OUTPUT
         shell: bash
-      - uses: aica-technology/.github/.github/actions/compare-versions@v0.11.0
+      - uses: aica-technology/.github/.github/actions/compare-versions@v1.0.2
         id: check
         with:
           previous_version: ${{ steps.versions.outputs.prev_version }}
@@ -152,7 +152,7 @@ jobs:
           token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Create git tag
-        if: ${{ needs.metadata.outputs.git_tag }} != ""
+        if: ${{ needs.metadata.outputs.git_tag != '' }}
         uses: aica-technology/.github/.github/actions/git-tag@v0.8.1
         with:
           tag: ${{ needs.metadata.outputs.git_tag }}