Read dist suffix properly

This commit is contained in:
Willy-JL
2023-07-05 00:14:02 +02:00
parent 2ada7b3bbb
commit 1cfcc759ed

View File

@@ -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