From 0a192c94573792a009e6aac2fdadaebd926aa898 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Thu, 17 Oct 2024 18:52:15 +0200 Subject: [PATCH] Fix problem with the BASE_TAG micro Python script --- .../.github/workflows/frontend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/{{ cookiecutter.__folder_name }}/.github/workflows/frontend.yml b/project/{{ cookiecutter.__folder_name }}/.github/workflows/frontend.yml index e25c777..df9054a 100644 --- a/project/{{ cookiecutter.__folder_name }}/.github/workflows/frontend.yml +++ b/project/{{ cookiecutter.__folder_name }}/.github/workflows/frontend.yml @@ -29,7 +29,7 @@ jobs: id: vars run: | echo 'BASE_TAG=sha-$(git rev-parse --short HEAD)' >> $GITHUB_OUTPUT - python3 -c 'import json; data = json.load(open("./mrs.developer.json")); print("VOLTO_VERSION=" + data["core"].get("tag") or "latest")' >> $GITHUB_OUTPUT + python3 -c 'import json; data = json.load(open("./mrs.developer.json")); print("VOLTO_VERSION=" + (data["core"].get("tag") or "latest"))' >> $GITHUB_OUTPUT - name: Test vars run: | echo 'BASE_TAG={{"${{ steps.vars.outputs.BASE_TAG }}"}}'