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

Add version prefixes option to released-version goal #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 16, 2022

  1. Add version prefixes option to released-version goal

    Allow running the released-version goal with optional parameter
    versionPrefix, which filters the matched released versions to versions
    that begin with that prefix.
    
    For example, if the released versions are 1.3.1, 1.3.2, 1.4.1, 1.4.2,
    and you run `mvn build-helper:released-version` normally, it will
    find version 1.4.2 as the latest released version.
    
    This commit makes it so if you give it the parameter versionPrefix=1.3,
    then it will find 1.3.2 instead.
    
    You can also pass in the versionPrefix via a property:
    
       mvn build-helper:released-version -DreleasedVersion.versionPrefix=1.3
    Marquis Wong authored and Marquis Wong committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    5c1a23d View commit details
    Browse the repository at this point in the history