platform: Unify client versions

This commit is contained in:
世界 2024-02-16 13:28:58 +08:00
parent 5583e01c99
commit 80d1aebcb7
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
7 changed files with 57 additions and 11 deletions

View file

@ -78,11 +78,12 @@ update_android_version:
go run ./cmd/internal/update_android_version
build_android:
cd ../sing-box-for-android && ./gradlew :app:assemblePlayRelease && ./gradlew --stop
cd ../sing-box-for-android && ./gradlew :app:assemblePlayRelease && ./gradlew :app:assembleOtherRelease && ./gradlew --stop
upload_android:
mkdir -p dist/release_android
cp ../sing-box-for-android/app/build/outputs/apk/play/release/*.apk dist/release_android
cp ../sing-box-for-android/app/build/outputs/apk/other/release/*-universal.apk dist/release_android
ghr --replace --draft --prerelease -p 3 "v${VERSION}" dist/release_android
rm -rf dist/release_android