Skip to content

Commit

Permalink
[7.x] Fix SourceLink repository (#9182)
Browse files Browse the repository at this point in the history
Fix SourceLink for 7.x branch
  • Loading branch information
ReubenBond authored Oct 15, 2024
1 parent c7ef55e commit 55f292f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PropertyGroup>
<!-- Set DisableSourceLinkUrlTranslation to true when building a tool for internal use where sources only come from internal URIs -->
<DisableSourceLinkUrlTranslation Condition="'$(DisableSourceLinkUrlTranslation)' == ''">false</DisableSourceLinkUrlTranslation>
<_TranslateUrlPattern>https://.*\.visualstudio\.com/.*/_git/[^/]*</_TranslateUrlPattern>
<_TranslateUrlPattern>(https://.*\.visualstudio\.com/.*/_git/[^/]*)|(https://dev\.azure\.com/.*/_git/[^/]*)</_TranslateUrlPattern>
<_TranslateUrlReplacement>$(PublicRepositoryUrl)</_TranslateUrlReplacement>
</PropertyGroup>

Expand Down

0 comments on commit 55f292f

Please sign in to comment.