From ae20b518f0562f5ee08dbd22c922f5f1357fd80d Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 10 Apr 2026 20:22:25 +0300 Subject: [PATCH] fix: version tagging in native build --- .github/workflows/native-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index 1b1d30c8..4e8a5b03 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -82,13 +82,15 @@ jobs: echo "APP_DATE=${DATE}" >> "$GITHUB_ENV" echo "APP_BRANCH=${BRANCH}" >> "$GITHUB_ENV" - sed -i \ + sed -i.bak \ -e "s/^APP_VERSION = \".*\"/APP_VERSION = \"${VERSION}\"/" \ -e "s/^APP_COMMIT_SHA = \".*\"/APP_COMMIT_SHA = \"${SHA}\"/" \ -e "s/^APP_BUILD_DATE = \".*\"/APP_BUILD_DATE = \"${DATE}\"/" \ -e "s/^APP_BRANCH = \".*\"/APP_BRANCH = \"${BRANCH}\"/" \ app/library/version.py + rm -f app/library/version.py.bak + echo "Updated version info:" cat app/library/version.py