mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
tracks are now strings
This commit is contained in:
parent
d705e3c1fb
commit
dd511ba365
1 changed files with 6 additions and 6 deletions
|
@ -15,7 +15,7 @@ namespace Bit.Publisher
|
|||
|
||||
private static string _apkFilePath;
|
||||
private static string _credsFilePath;
|
||||
private static EditsResource.TracksResource.UpdateRequest.TrackEnum _track;
|
||||
private static string _track;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
|
@ -32,19 +32,19 @@ namespace Bit.Publisher
|
|||
var track = args[2].Substring(0, 1).ToLower();
|
||||
if(args[2] == "a")
|
||||
{
|
||||
_track = EditsResource.TracksResource.UpdateRequest.TrackEnum.Alpha;
|
||||
_track = "alpha";
|
||||
}
|
||||
else if(args[2] == "b")
|
||||
{
|
||||
_track = EditsResource.TracksResource.UpdateRequest.TrackEnum.Beta;
|
||||
_track = "beta";
|
||||
}
|
||||
else if(args[2] == "p")
|
||||
{
|
||||
_track = EditsResource.TracksResource.UpdateRequest.TrackEnum.Production;
|
||||
_track = "production";
|
||||
}
|
||||
else if(args[2] == "r")
|
||||
else if(args[2] == "i")
|
||||
{
|
||||
_track = EditsResource.TracksResource.UpdateRequest.TrackEnum.Rollout;
|
||||
_track = "internal";
|
||||
}
|
||||
|
||||
new Program().Run().Wait();
|
||||
|
|
Loading…
Reference in a new issue