docs: gen-manifest.sh构建号规则说明
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# OTA manifest 生成脚本
|
# OTA manifest 生成脚本
|
||||||
# CI 构建时运行: ./ota/gen-manifest.sh <versionName> <versionCode> <apk-path>
|
# 用法: ./ota/gen-manifest.sh <versionName> <versionCode> <apk-path>
|
||||||
# 生成 manifest-stable.json 后通过 Gitea API 上传到 Release
|
# 构建号规则: 每次生成APK时 versionCode +1, 对应 git tag vX.Y.Z-dav-android-N
|
||||||
|
# CI 构建时自动运行, SHA256动态填入, 生成 manifest-stable.json 后上传到 Gitea Release
|
||||||
|
|
||||||
VERSION_NAME="${1:-0.1.0}"
|
VERSION_NAME="${1:-0.1.0}"
|
||||||
VERSION_CODE="${2:-7}"
|
VERSION_CODE="${2:-7}"
|
||||||
|
|||||||
Reference in New Issue
Block a user