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

Fix branch name detection #1642

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

carolynvs
Copy link
Member

Don't assume the first branch name will work. Loop through matching refs, excluding tags, and look first for main and then for release/v*. This better accounts for how the git repo looks in CI.

@carolynvs carolynvs force-pushed the fix-branch-name-detection branch 2 times, most recently from 976b4b6 to 1cf8f12 Compare June 15, 2021 19:52
@carolynvs carolynvs mentioned this pull request Jun 15, 2021
@carolynvs
Copy link
Member Author

/azp run porter

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Don't assume the first branch name will work. Loop through matching
refs, excluding tags, and look first for main and then for release/v*.

Signed-off-by: Carolyn Van Slyck <[email protected]>
@carolynvs carolynvs force-pushed the fix-branch-name-detection branch from 1cf8f12 to e458738 Compare June 15, 2021 20:15
@carolynvs carolynvs merged commit d3f0f6d into getporter:release/v1 Jun 15, 2021
@carolynvs carolynvs deleted the fix-branch-name-detection branch June 15, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants