-
I'm implementing some more advanced versioning reasoning in a build for pull requests. I want to know the version in the PR, and the version in the PR target branch. Example: in Jenkins, I can have What is the best/right way to do this? Are there missing features that would make this easier? I came across #3954 which suggests that I can't just temporarily override I could probably just check out said branch and re-run GitVersion, but that's going to yield a lot of expensive churn in the repo. I am curious if there's a less brute-force approach. Thanks for assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
We are discussing similar use of |
Beta Was this translation helpful? Give feedback.
-
What do you mean you want to know the version in the PR target branch!? Can you give an example? What is the motivation behind? |
Beta Was this translation helpful? Give feedback.
We are discussing similar use of
Git_Branch
in #4212 (comment). I believe that if implemented, it would cover your use-case as well.