forked from phenom/healer-man
Release Healer Man 0.1.29
This commit is contained in:
1 parent
8c9809d3e0
commit
544c1bee91
120 files changed
+4363
-1036
No files matched your search
@@ -56,6 +56,13 @@ try {
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Gradle $Task failed with exit code $LASTEXITCODE"
|
||||
}
|
||||
$packageType = if ($Task -eq 'assembleRelease') { 'release' } else { 'debug' }
|
||||
$packageDirectory = Join-Path $projectRoot "android\app\build\outputs\apk\$packageType"
|
||||
$builtPackage = Get-ChildItem -LiteralPath $packageDirectory -Filter '*.apk' |
|
||||
Sort-Object LastWriteTime -Descending | Select-Object -First 1
|
||||
if (-not $builtPackage) { throw "No APK was produced in $packageDirectory" }
|
||||
& python (Join-Path $projectRoot 'scripts\content\verify-android-package.py') $builtPackage.FullName
|
||||
if ($LASTEXITCODE -ne 0) { throw "Packaged content verification failed." }
|
||||
} finally {
|
||||
Pop-Location
|
||||
}
|
||||
Reference in new issue
Block a user