Skip to content

Fix branch name detection#1642

Merged
carolynvs merged 1 commit intogetporter:release/v1from
carolynvs:fix-branch-name-detection
Jun 15, 2021
Merged

Fix branch name detection#1642
carolynvs merged 1 commit intogetporter:release/v1from
carolynvs:fix-branch-name-detection

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 <me@carolynvanslyck.com>
@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