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 tag detection on azure pipelines #1670

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

carolynvs
Copy link
Member

@carolynvs carolynvs commented Jul 12, 2021

BUILD_SOURCEBRANCH is populated for branches and tags. Oops. This fixes how we use that variable to differentiate between a branch and tag build. This addresses the problem on the last release I did yesterday where the build didn't properly read the tag, and thought it was a branch build when it was a tag build.

I'm not happy with it either...

@carolynvs carolynvs marked this pull request as draft July 13, 2021 14:31
BUILD_SOURCEBRANCH is populated for branches _and_ tags. Oops. This
fixes how we use that variable to differentiate between a branch and tag
build.

I'm not happy with it either...

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs force-pushed the fix-tag-detection branch from 13cfb8f to e41b769 Compare July 13, 2021 14:35
@carolynvs carolynvs marked this pull request as ready for review July 13, 2021 18:08
@carolynvs carolynvs requested a review from vdice July 23, 2021 12:17
@carolynvs carolynvs merged commit 6e8eb0e into getporter:main Jul 27, 2021
@carolynvs carolynvs deleted the fix-tag-detection branch July 27, 2021 15:20
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