Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

fix and clean up PowerShell AndroidBumpVersion #39

Conversation

jmegner
Copy link
Contributor

@jmegner jmegner commented Dec 19, 2020

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

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
@jamesmontemagno jamesmontemagno merged commit e4aa071 into jamesmontemagno:master Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants