fix track bug

This commit is contained in:
Kyle Spearrin 2018-06-29 15:26:46 -04:00
parent 82b17677b9
commit b2f40c7af0

View file

@ -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";
}