Release Android 1.0.2 with unified gateway routing
Android client acceptance / test-and-build (push) Has been cancelled
Android client acceptance / test-and-build (push) Has been cancelled
This commit is contained in:
+5
-2
@@ -1,4 +1,7 @@
|
||||
param([switch]$InstrumentationOnly)
|
||||
param(
|
||||
[switch]$InstrumentationOnly,
|
||||
[string]$Version = '1.0.2'
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$androidRoot = $PSScriptRoot
|
||||
$env:JAVA_HOME = Join-Path $androidRoot '.tools/jdk-staging/jdk-21.0.12.1+1'
|
||||
@@ -16,7 +19,7 @@ try {
|
||||
if ($InstrumentationOnly) {
|
||||
$inputs = @(Get-ChildItem -LiteralPath (Join-Path $androidRoot 'V2rayNG/app/build/outputs/apk/androidTest/playstore/release') -Filter '*.apk')
|
||||
} else {
|
||||
$inputs = @(Get-ChildItem -LiteralPath (Join-Path $androidRoot 'V2rayNG/app/build/outputs/apk/playstore/release') -Filter 'UCVL-Zonghengjia-1.0.1-*.apk')
|
||||
$inputs = @(Get-ChildItem -LiteralPath (Join-Path $androidRoot 'V2rayNG/app/build/outputs/apk/playstore/release') -Filter "UCVL-Zonghengjia-$Version-*.apk")
|
||||
}
|
||||
if (-not $inputs.Count) { throw 'No candidate APKs were built.' }
|
||||
foreach ($inputFile in $inputs) {
|
||||
|
||||
Reference in New Issue
Block a user