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 Apr 1, 2024
1 parent 15ef0fd commit dd2d7ad
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 dd2d7ad

Please sign in to comment.