From 82d35e57a14571c676422d47b36731c2a46ab6f4 Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Tue, 2 Jan 2024 13:52:19 -0800 Subject: [PATCH] Bug fix for publishing a module that is not all lowercase to ACR repo --- 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