You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new("Create new GitHub personal access tokens at https://github.com/settings/tokens (no scopes needed but needs SSO enabled on the PAT)",isComment:true),
HelpText="Token used to authenticate to BAR. If it or the federated token are omitted, auth falls back to Azure CLI or an interactive browser login flow.")]
31
+
HelpText="[DEPRECATED] Token used to authenticate to BAR. Please use Azure CLI or an interactive browser login flow.")]
32
32
[RedactFromLogging]
33
-
publicstringBuildAssetRegistryToken{get;set;}
33
+
publicstringBuildAssetRegistryToken
34
+
{
35
+
get=>null;
36
+
set
37
+
{
38
+
if(!string.IsNullOrEmpty(value))
39
+
{
40
+
Console.WriteLine("The --password option is deprecated. Please use Azure CLI or an interactive browser login flow.");
41
+
}
42
+
}
43
+
}
34
44
35
45
[Option("github-pat",HelpText="Token used to authenticate GitHub.")]
36
46
[RedactFromLogging]
@@ -106,7 +116,6 @@ public void InitializeFromSettings(ILogger logger)
// Attempt to find the element name or alternate element name under
807
887
// the property group nodes
808
-
XmlNodeexistingVersionNode=versionProps.DocumentElement.SelectSingleNode($"//*[local-name()='{packageVersionElementName}' and parent::PropertyGroup]");
809
-
existingVersionNode??=versionProps.DocumentElement.SelectSingleNode($"//*[local-name()='{packageVersionAlternateElementName}' and parent::PropertyGroup]");
888
+
XmlNodeexistingVersionNode=versionProps.DocumentElement.SelectSingleNode($"//*[local-name()='{packageVersionElementName}' and parent::PropertyGroup]")
889
+
??versionProps.DocumentElement.SelectSingleNode($"//*[local-name()='{packageVersionAlternateElementName}' and parent::PropertyGroup]");
0 commit comments