-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Description
docs/README.md claims that the SetSourceRevisionId target sets the SourceRevisionId property:
Lines 141 to 144 in 4b584db
| ### SourceRevisionId | |
| Set by target `SetSourceRevisionId` and consumed by NuGet `Pack` target and `GenerateAssemblyInfo` target. | |
| May be used by custom targets that need this information. |
However, there is no SetSourceRevisionId target. It seems the SourceRevisionId property is instead set by the InitializeSourceControlInformationFromSourceControlManager target, or without a target:
| <Output TaskParameter="RevisionId" PropertyName="SourceRevisionId" Condition="'$(SourceRevisionId)' == ''" /> |
sourcelink/src/Microsoft.Build.Tasks.Tfvc/build/Microsoft.Build.Tasks.Tfvc.targets
Line 29 in 4b584db
| <Output TaskParameter="RevisionId" PropertyName="SourceRevisionId" /> |
| <SourceRevisionId Condition="'$(SourceRevisionId)' == ''">$(STANDARD_CI_SOURCE_REVISION_ID)</SourceRevisionId> |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels