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

2.0 Rewrite: SHOULD HAVE features #14

Open
JKrag opened this issue Jun 5, 2018 · 1 comment
Open

2.0 Rewrite: SHOULD HAVE features #14

JKrag opened this issue Jun 5, 2018 · 1 comment
Milestone

Comments

@JKrag
Copy link
Member

JKrag commented Jun 5, 2018

This is the total scope of features that should be implemented. Must be broken down to smaller issues later.

Usage:
  #{__FILE__} --latest=<tag-glob> [options]
  #{__FILE__} <ref>               [options]

Options:
  [-v | -vv | -vvv]

    More verbose output (counteracts -q option)
    
  [-q | -qq | -qqq]

    Less verbose output (counteracts -v option)
    
  -l --latest=<tag-glob>

    Specify a glob pattern to search for last matching tag instead of
    providing a specific ref.
    Will attempt to use everything after <tag-glob> as the version string
    so be sure to provide _entire_ prefix.
    E.g. use "R_" if your versions are "R_1.2.3"

  -t --tag-commit  Actually tag HEAD with the version number computed.

  -p --prefix=<prefix>

    Specify a prefix to add before the resulting version string

  --postfix=<postfix>

    Specify the "special" part of the resulting version string.
    This is any  part of the version string that comes after the dash,
    e.g. in 1.3.4-SNAPSHOT it is the string "SNAPSHOT".
    Note this is for the "output" side.
    PlusBump will accept any special string on the input and preserve it,
    unless you specify `--special=""` or something else.

  --majorpattern=<major_pattern>

    Specify an alternative (regex) pattern that indicates a major version bump.
    E.g. --majorpattern='\\+major'

  --minorpattern=<minor_pattern>

    Specify an alternative (regex) pattern that indicates a minor version bump.
    E.g. --minorpattern='\\+minor'

  --patchpattern=<minor_pattern>

      Specify an alternative (regex) pattern that indicates a minor version bump.
      E.g. --minorpattern='\\+minor'

@JKrag
Copy link
Member Author

JKrag commented Jun 5, 2018

Maybe we also want to add --version to this list

@JKrag JKrag added this to the 2.0 milestone Jun 5, 2018
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

1 participant