From 12a1833196ea9e1a0a98ff6f3fd17d7795e29bb4 Mon Sep 17 00:00:00 2001 From: Daithi Hearn Date: Mon, 27 Feb 2023 23:48:57 +0100 Subject: [PATCH] Fixing if statement on action step --- .github/workflows/publish-to-dockerhub.yml | 4 ++-- package.json | 2 +- public/manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-to-dockerhub.yml b/.github/workflows/publish-to-dockerhub.yml index 39bdf52..c91a578 100644 --- a/.github/workflows/publish-to-dockerhub.yml +++ b/.github/workflows/publish-to-dockerhub.yml @@ -23,9 +23,9 @@ jobs: with: path: "public/manifest.json" prop_path: "version" - - name: Update manifest.json version - uses: jossef/action-set-json-field@v2 + - name: Update manifest.json version from ${{ steps.manifestversion.outputs.prop }} to ${{ github.ref_name }} if: ${{ steps.manifestversion.outputs.prop }} != ${{ github.ref_name }} + uses: jossef/action-set-json-field@v2 with: file: public/manifest.json field: version diff --git a/package.json b/package.json index 97825a3..0987ae8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "5.4.7", + "version": "5.4.8", "description": "React frontend for the Cards 110", "author": "Daithi Hearn", "license": "MIT", diff --git a/public/manifest.json b/public/manifest.json index f97f636..fb34480 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "short_name": "Cards 110", "name": "Cards 110", - "version": "5.4.7", + "version": "5.4.8", "icons": [ { "src": "./assets/favicon.png",