Skip to content

Commit

Permalink
[#NON] #CHANGE 'assemblyName: DotNet.Testcontainers; function: versio…
Browse files Browse the repository at this point in the history
…n.cake'

{Fix GitHub pull request id (number).}
  • Loading branch information
HofmeisterAn committed Jul 18, 2021
1 parent a0c3fcb commit 4186d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cake-scripts/version.cake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ internal sealed class BuildInformation

if (isPullRequest)
{
pullRequestId = buildSystem.AzurePipelines.Environment.PullRequest.Id.ToString();
pullRequestId = buildSystem.AzurePipelines.Environment.PullRequest.Number.ToString();
sourceBranch = buildSystem.AzurePipelines.Environment.PullRequest.SourceBranch;
targetBranch = buildSystem.AzurePipelines.Environment.PullRequest.TargetBranch;
sourceBranch = sourceBranch.Replace("refs/heads/", string.Empty);
Expand Down

0 comments on commit 4186d34

Please sign in to comment.