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

incrementVersionAtFinish problem #288

Closed
alapierre opened this issue Mar 16, 2021 · 2 comments
Closed

incrementVersionAtFinish problem #288

alapierre opened this issue Mar 16, 2021 · 2 comments

Comments

@alapierre
Copy link

alapierre commented Mar 16, 2021

I have in my pom.xml:

<configuration>
                    <incrementVersionAtFinish>true</incrementVersionAtFinish>
</configuration>

when I use feature name with number in it, like eg. FR-10 plugin increment wrong digit

current version is: 1.1.1-SNAPSHOT

mvn gitflow:feature-start
What is a name of feature branch? feature/: FR-10

now version is: 1.1.1-FR-10-SNAPSHOT (OK, like expected)

mvn gitflow:feature-finish

now version on develop is: 1.1.1-FR-11-SNAPSHOT (is NOT OK, should by 1.1.2-SNAPSHOT)

[INFO] Fetching remote branch 'origin feature/FR-10'.
[WARNING] There were some problems fetching remote branch 'origin feature/FR-10'. You can turn off remote branch fetching by setting the 'fetchRemote' parameter to false.
[INFO] Fetching remote branch 'origin develop'.
[INFO] Comparing local branch 'develop' with remote 'origin/develop'.
[INFO] Checking out 'feature/FR-10' branch.
[INFO] Cleaning and testing the project.
[INFO] Updating version(s) to '1.1.1-FR-11-SNAPSHOT'.
[INFO] Committing changes.
[INFO] Checking out 'develop' branch.
[INFO] Merging (--no-ff) 'feature/FR-10' branch.
[INFO] Pushing 'develop' branch to 'origin'.
[INFO] Deleting remote branch 'feature/FR-10' from 'origin'.
[WARNING] There were some problems deleting remote branch 'feature/FR-10' from 'origin'.
[INFO] Deleting 'feature/FR-10' branch.
@aleksandr-m
Copy link
Owner

@alapierre Fixed. Thank you for reporting.

@aleksandr-m
Copy link
Owner

1.16.0 is released.

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

No branches or pull requests

2 participants