Skip to content

default regexVersionTag does not handle "v1.0.0-RC1" correctly on 2nd commit #179

Description

@lbayle

version: 1.9.0

usage context:

  • [] maven command line: 3.9.6

Problem description:

the default regex has (?:-[a-zA-Z0-9\\-_]+)? inside the capture group. This is nice for RC.
But it works only on the commit that is tagged. on next commits, the RC has vanished !

UseCase:

git tag "1.2.0-RC1"
mvn validate
# ==> Building my-app 1.2.0-RC1-SNAPSHOT
touch foobar.txt && git add foobar.txt && git commit -m "add foobar"
mvn validate
# ==> Building my-app 1.2.0-SNAPSHOT

where is -RC1 ???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions