Config.cs 967 B

1234567891011121314151617181920212223242526
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. namespace Microsoft.Dotnet.Scripts
  4. {
  5. public class Config
  6. {
  7. public string UpdatedVersions { get; set; }
  8. public string BuildXml { get; set; }
  9. public string GithubUsername {get; set;}
  10. public string GithubEmail {get; set;}
  11. public string GithubToken {get; set;}
  12. public string GithubUpstreamOwner {get; set;} = "aspnet";
  13. public string GithubProject {get; set;} = "Universe";
  14. public string GithubUpstreamBranch {get; set;} = "dev";
  15. public string[] GitHubPullRequestNotifications { get; set; } = new string[] { };
  16. public string[] UpdatedVersionsList
  17. {
  18. get
  19. {
  20. return UpdatedVersions.Split(';',System.StringSplitOptions.RemoveEmptyEntries);
  21. }
  22. }
  23. }
  24. }