mirror of
https://github.com/bitwarden/mobile
synced 2024-12-27 09:15:54 +01:00
fix track bug
This commit is contained in:
parent
82b17677b9
commit
b2f40c7af0
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user