Conversation
BitBucket environment variables do not include the `refs/` prefix, so we need to add them ourselves (as we do for some other cloud build services already). Fixes #935
Collaborator
Author
|
@henriq would you be willing to test this out? I could push the PR build to our CI feed so you could consume it via nuget package. |
|
@AArnott Sure! |
Collaborator
Author
|
Thanks. It's ready for your testing at https://dev.azure.com/andrewarnott/OSS/_artifacts/feed/PublicCI/NuGet/Nerdbank.GitVersioning/overview/3.6.130-gb8bbcd03d8 (and the nbgv equivalent package). |
|
LGTM! I've tested this for both branches and tags and get the expected behavior. Branch Tag |
Collaborator
Author
|
Great. Thank you. |
Collaborator
Author
|
@henriq this is now available as https://github.com/dotnet/Nerdbank.GitVersioning/releases/tag/v3.6.132 |
This was referenced Sep 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BitBucket environment variables do not include the
refs/prefix, so we need to add them ourselves (as we do for some other cloud build services already).Fixes #935