jamesmontemagno / vsts-mobile-tasks

VSTS Tasks for Mobile!
MIT License
79 stars 22 forks source link

fix and clean up PowerShell AndroidBumpVersion #39

Closed jmegner closed 3 years ago

jmegner commented 3 years ago

Previously, the AndroidBumpVersion task.ps1 had these lines: $NAME.Node.Value = $final_code $NAME.Node.Value = $versionName Which meant the Android manifest's versionName was updated, but the versionCode wasn't.

I also changed things to make better use of PowerShell features and adhere to PoshCode style guide: https://github.com/PoshCode/PowerShellPracticeAndStyle