mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
8 lines
343 B
PowerShell
8 lines
343 B
PowerShell
|
$rootPath = "%APPVEYOR_BUILD_FOLDER%";
|
|||
|
$newVersionCode = "%APPVEYOR_BUILD_NUMBER%";
|
|||
|
|
|||
|
$xml=New-Object XML;
|
|||
|
$xml.Load($rootPath + "src\Android\Properties\AndroidManifest.xml");
|
|||
|
$node=$xml.SelectNodes("/manifest");
|
|||
|
$node.SetAttribute("android:versionCode", $newVersionCode);
|
|||
|
$xml.Save($rootPath + "src\Android\Properties\AndroidManifest.xml");
|