From dd2d7ad13e0fbdfa843ca0fc420b8b1b8f6c2fba Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:48:00 -0800 Subject: [PATCH] Bug fix for publishing a module that is not all lowercase to ACR repo (#1502) --- src/code/PublishPSResource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code/PublishPSResource.cs b/src/code/PublishPSResource.cs index cb6fac1ae..53c12f2b7 100644 --- a/src/code/PublishPSResource.cs +++ b/src/code/PublishPSResource.cs @@ -486,7 +486,7 @@ out string[] _ { ACRServerAPICalls acrServer = new ACRServerAPICalls(repository, this, _networkCredential, userAgentString); - if (!acrServer.PushNupkgACR(outputNupkgDir, _pkgName, _pkgVersion, repository, out ErrorRecord pushNupkgACRError)) + if (!acrServer.PushNupkgACR(outputNupkgDir, _pkgName.ToLower(), _pkgVersion, repository, out ErrorRecord pushNupkgACRError)) { WriteError(pushNupkgACRError); // exit out of processing