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

Command to automate updating version to next minor or major snapshot version #1021

Open
cordahi opened this issue Nov 3, 2023 · 0 comments

Comments

@cordahi
Copy link

cordahi commented Nov 3, 2023

I'm currently going through a large number of projects and updating their version to reflect that their next release should reflect a minor or major functionality change.

  1. Run mvn versions:set
  2. Read the prompt, e.g. Enter the new version to set 1.2.3-SNAPSHOT:
  3. Type 1.3.0-SNAPSHOT

Could the sequence be fully automated with a comand like mvn -DnextMinor versions:set or mvn -DnextMinorSnapshot versions:set?

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