fix: gen-manifest.sh/README/gitignore同步manifest-stable.json命名

This commit is contained in:
LukeMackin
2026-07-19 19:46:27 +08:00
parent a7b6b455d1
commit 1461acd292
9 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -46,4 +46,4 @@ android/build/
*.keystore
local.properties
screen.png
ota/manifest.json
ota/manifest-stable.json

View File

@@ -12,7 +12,7 @@ APK_NAME="v${VERSION_NAME}-dav-android-${VERSION_CODE}-debug.apk"
SHA256=$(sha256sum "$APK_PATH" | cut -d' ' -f1)
SIZE=$(stat -c%s "$APK_PATH")
cat > ota/manifest.json <<JSON
cat > ota/manifest-stable.json <<JSON
{
"version": "${VERSION_NAME}",
"builds": {
@@ -29,7 +29,7 @@ cat > ota/manifest.json <<JSON
}
JSON
echo "Generated: ota/manifest.json"
echo "Generated: ota/manifest-stable.json"
echo " tag: ${RELEASE_TAG}"
echo " sha256: ${SHA256}"
echo " size: ${SIZE}"