mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
tracks are now strings
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user