mirror of
https://github.com/bitwarden/mobile
synced 2024-12-28 01:32:41 +01:00
tracks are now strings
This commit is contained in:
parent
d705e3c1fb
commit
dd511ba365
@ -15,7 +15,7 @@ namespace Bit.Publisher
|
|||||||
|
|
||||||
private static string _apkFilePath;
|
private static string _apkFilePath;
|
||||||
private static string _credsFilePath;
|
private static string _credsFilePath;
|
||||||
private static EditsResource.TracksResource.UpdateRequest.TrackEnum _track;
|
private static string _track;
|
||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
@ -32,19 +32,19 @@ namespace Bit.Publisher
|
|||||||
var track = args[2].Substring(0, 1).ToLower();
|
var track = args[2].Substring(0, 1).ToLower();
|
||||||
if(args[2] == "a")
|
if(args[2] == "a")
|
||||||
{
|
{
|
||||||
_track = EditsResource.TracksResource.UpdateRequest.TrackEnum.Alpha;
|
_track = "alpha";
|
||||||
}
|
}
|
||||||
else if(args[2] == "b")
|
else if(args[2] == "b")
|
||||||
{
|
{
|
||||||
_track = EditsResource.TracksResource.UpdateRequest.TrackEnum.Beta;
|
_track = "beta";
|
||||||
}
|
}
|
||||||
else if(args[2] == "p")
|
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();
|
new Program().Run().Wait();
|
||||||
|
Loading…
Reference in New Issue
Block a user