Skip to content

Commit

Permalink
Allowing version validation to include qualities for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattchenderson authored and fabiocav committed Sep 6, 2024
1 parent 4ef9d3c commit 493c4b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<!-- Validating some expectations for the function app early on. -->
<Target Name="_FunctionsPreBuild" BeforeTargets="BeforeBuild">
<PropertyGroup>
<_AzureFunctionsVersionStandardized>$(AzureFunctionsVersion.ToLowerInvariant())</_AzureFunctionsVersionStandardized>
<!-- Versions could be of several forms, such as "v4", "V4", or "v4-prerelease". This will normalize those three examples all to "v4". -->
<_AzureFunctionsVersionStandardized>$(AzureFunctionsVersion.ToLowerInvariant().Split('-')[0])</_AzureFunctionsVersionStandardized>
<CheckEolAzureFunctionsVersion Condition="'$(CheckEolAzureFunctionsVersion)' == ''">true</CheckEolAzureFunctionsVersion>
</PropertyGroup>

Expand Down

0 comments on commit 493c4b9

Please sign in to comment.