Mainline not behaving as expected. PR and merge to main are not incremeted as expected #4024
-
I'm having problems with wrong version when running GitHub actions on a PR and merging into main.
I'll start with version 0.5.0 on my main branch. As soon as I create a new feature branch, the minor version is bumped to 0.6.0-alpha0000. Local testing confirms that it works. I update my code until i get to 0.6.0-alpha0003. After pushing it to GitHub, the action runs, and I get the expected version (0.6.0-alpha0003). Now I create a PR and the action runs again, but this time the version is not as expected, I get the version 0.5.1-preview00x and not 0.6.0-preview00x. Merging the PR into the main also gives me the wrong version (0.5.1). If I merge the feature branch locally with Any ideas on how to fix my problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
How does you merge message look like? On AzureDevops this is a known issue. I think the question has been answered already in the following discussion: |
Beta Was this translation helpful? Give feedback.
How does you merge message look like? On AzureDevops this is a known issue. I think the question has been answered already in the following discussion: