Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServicingPipeline: Warn when local release-XX branch is not uptodate #17260

Merged
merged 2 commits into from
May 14, 2024

Conversation

DHowett
Copy link
Member

@DHowett DHowett commented May 13, 2024

This prevents me from making dumb mistakes, really.

@DHowett DHowett added this to To Cherry Pick in 1.21 Servicing Pipeline via automation May 13, 2024
@DHowett DHowett added this to To Cherry Pick in 1.20 Servicing Pipeline via automation May 13, 2024
$CommitsBehind = [int](& git rev-list --count "$RemoteForCurrentBranch/$Branch" "^$Branch")

If ($LASTEXITCODE -Ne 0) {
Write-Error "Failed to determine branch divergence"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ew tabs

@DHowett DHowett merged commit bf55c44 into main May 14, 2024
5 of 7 checks passed
@DHowett DHowett deleted the dev/duhowett/pipeline-warn-on-diff branch May 14, 2024 19:19
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.20 Servicing Pipeline May 16, 2024
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.21 Servicing Pipeline May 17, 2024
DHowett added a commit that referenced this pull request May 17, 2024
…17260)

This prevents me from making dumb mistakes, really.

(cherry picked from commit bf55c44)
Service-Card-Id: 92546838
Service-Version: 1.21
DHowett added a commit that referenced this pull request May 17, 2024
…17260)

This prevents me from making dumb mistakes, really.

(cherry picked from commit bf55c44)
Service-Card-Id: 92546837
Service-Version: 1.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants