From 1cfcc759edc0819a35318948088d67c6cd19ac4f Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Wed, 5 Jul 2023 00:14:02 +0200 Subject: [PATCH] Read dist suffix properly --- .github/workflow_data/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow_data/version.sh b/.github/workflow_data/version.sh index 0e6f4eb17..b2ba35187 100644 --- a/.github/workflow_data/version.sh +++ b/.github/workflow_data/version.sh @@ -1,4 +1,4 @@ #!/bin/bash -export VERSION_TAG="$(grep -o "DIST_SUFFIX = .*" fbt_options.py | cut -d'"' -f2)" +export VERSION_TAG="$(python -c 'import fbt_options; print(fbt_options.DIST_SUFFIX)')" echo "VERSION_TAG=${VERSION_TAG}" >> $GITHUB_ENV