diff --git a/store/google/Publisher/Program.cs b/store/google/Publisher/Program.cs index da63f91f7..499f9f30a 100644 --- a/store/google/Publisher/Program.cs +++ b/store/google/Publisher/Program.cs @@ -15,7 +15,7 @@ namespace Bit.Publisher private static string _apkFilePath; private static string _credsFilePath; - private static string _track = "alpha"; + private static string _track; static void Main(string[] args) { @@ -30,23 +30,23 @@ namespace Bit.Publisher _apkFilePath = args[1]; var track = args[2].Substring(0, 1).ToLower(); - if(args[2] == "a") + if(track == "a") { _track = "alpha"; } - else if(args[2] == "b") + else if(track == "b") { _track = "beta"; } - else if(args[2] == "p") + else if(track == "p") { _track = "production"; } - else if(args[2] == "r") + else if(track == "r") { _track = "rollout"; } - else if(args[2] == "i") + else if(track == "i") { _track = "internal"; }