mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 00:53:27 +00:00
increment version script
This commit is contained in:
8
src/Android/increment-version.ps1
Normal file
8
src/Android/increment-version.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
$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");
|
||||
Reference in New Issue
Block a user