Bouwen-android-aab.ps1: AAB voor de Play Store via SideKick
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MaFmzMN5i7qyZihKBsksxz
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<#
|
||||
Bouwt de Android-bundel (AAB) voor de Play Store, voor SideKick ("Bouwen en uitrollen",
|
||||
onderdeel mijnbesluit-aab, Sleutel android-aab).
|
||||
|
||||
Zelfde werkwijze als Bouwen-android.ps1, maar met Apk-maken.ps1 -Aab. Het resultaat is een
|
||||
nl.mijnbesluit.app-Signed.aab in de map die SideKick meegeeft (-Uitvoer). Een AAB kun je niet
|
||||
op een telefoon zetten; hij gaat naar de Play Console.
|
||||
|
||||
Het wachtwoord van het sleutelbestand komt uit de gebruikersvariabele
|
||||
MIJNBESLUIT_KEYSTORE_WACHTWOORD (zie Apk-maken.ps1).
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[string] $Configuratie = 'Release',
|
||||
|
||||
# Waar de AAB terechtkomt (SideKick: <publicatiemap>\android-aab).
|
||||
[string] $Uitvoer
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
if ($env:RENH_UITROLVENSTER -and -not $env:MIJNBESLUIT_UITROLVENSTER) {
|
||||
$env:MIJNBESLUIT_UITROLVENSTER = '1'
|
||||
}
|
||||
|
||||
$params = @{ Aab = $true }
|
||||
if ($Uitvoer) { $params['Uit'] = $Uitvoer }
|
||||
|
||||
& (Join-Path $PSScriptRoot 'Apk-maken.ps1') @params
|
||||
if ($LASTEXITCODE -ne 0 -and $null -ne $LASTEXITCODE) { exit $LASTEXITCODE }
|
||||
Reference in New Issue
Block a user