feat: implement PackageInstaller session API for streamlined in-app updates and bump to v1.0.2

This commit is contained in:
Vaishno Singh
2026-11-18 23:49:22 +05:30
parent 57b96a21f2
commit 0ee9addc68
5 changed files with 104 additions and 13 deletions
+7 -2
View File
@@ -47,8 +47,13 @@ jobs:
elif [[ "${{ github.ref }}" == refs/tags/v* ]]; then
TAG="${GITHUB_REF#refs/tags/}"
else
# On pushes to main, generate a version based on run number
TAG="v1.0.${{ github.run_number }}"
# Extract versionName from app/build.gradle.kts
APP_VERSION=$(grep 'versionName = ' app/build.gradle.kts | head -n 1 | cut -d '"' -f 2)
if [ -n "$APP_VERSION" ]; then
TAG="v$APP_VERSION"
else
TAG="v1.0.${{ github.run_number }}"
fi
fi
echo "TAG=$TAG" >> $GITHUB_OUTPUT
echo "Release tag will be $TAG"