1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-03 00:53:27 +00:00

increment version script

This commit is contained in:
Kyle Spearrin
2017-02-04 21:19:54 -05:00
parent 63d6c32063
commit d4749c139b
3 changed files with 21 additions and 11 deletions

View 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");