Skip to content

Commit

Permalink
Bug fix for publishing a module that is not all lowercase to ACR repo
Browse files Browse the repository at this point in the history
  • Loading branch information
alerickson committed Jan 2, 2024
1 parent 1b14282 commit 82d35e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code/PublishPSResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82d35e5

Please sign in to comment.