Replies: 5 comments 1 reply
-
Dear Vlad, First of all if you are figuring out that every morning the number goes to one then that indicates (in my opinion) that something happens in your repository every night. Have you done a diff of your repository or analysis the logs? Second without steps to reproduce it's not possible to help you. If you done the analysis and think it's still a bug in git-version please try the preview version: https://github.com/GitTools/GitVersion/releases/tag/6.0.0-beta.2 |
Beta Was this translation helpful? Give feedback.
-
Dont' know what additional steps to reproduce I could provide, other than submitting my whole repo. It just randomly happened again, where the preview version jumped back on a feature branch for no reason at all. |
Beta Was this translation helpful? Give feedback.
-
I'm going to move this issue to the discussion section because it seems to me not a bug report. |
Beta Was this translation helpful? Give feedback.
-
@vllama Please take a look to the following sequence diagrams which documents how the pre-release number will be incremented in git-version: GitFlow Examples. There are a lot of integration tests existing in code which might be worth to take a eye on it. |
Beta Was this translation helpful? Give feedback.
-
My two cents: I have reproduced this but only with commits instead of pull requests. Let's say you have the following configuration:
If you perform a commit into the branch the After another commit is made in the same feature branch, one could expect the My guess is while the That being said, it could be probably an expected behavior to find some builds with the same I guess as a user, someone could expect an increment in the In summary:
Thanks |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
In Azure Devops:
We have library set up for ContinuousDeployment when committing to a Sprint* or develop* branch. Every morning the preview number resets to 1. As well it resets to 1 when a build is manually run.
Expected Behavior
The preview number should increment indefinitely.
Actual Behavior
The Preview number resets to 1.
Possible Fix
N/A
Steps to Reproduce
Context
Your Environment
Beta Was this translation helpful? Give feedback.
All reactions