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

Allow updating {major,minor,patch} and build number #26

Closed
amitkot opened this issue Nov 13, 2019 · 2 comments
Closed

Allow updating {major,minor,patch} and build number #26

amitkot opened this issue Nov 13, 2019 · 2 comments

Comments

@amitkot
Copy link

amitkot commented Nov 13, 2019

I plan on using this for Flutter. As the build number is mandatory there (for iOS and Android versioning), any change that increments the version number will also require a build number increment for the new version to register as a new one on Android and iOS.

I was thinking of a syntax such as:

$ pubver bump minor build
@f3ath
Copy link
Owner

f3ath commented Nov 13, 2019

Hi, thanks for the suggestion. That should be possible by running two commands at once, e.g. pubver bump minor && pubver bump patch. Would it work for you?

@amitkot
Copy link
Author

amitkot commented Nov 14, 2019

Thinking about your suggestion, I guess what I want could be achieved by calling pubver bump minor -b && pubver bump patch (otherwise the patch number gets lost when bumping the minor).

Now I only wish it would #17 was resolved so that my comments and formatting wouldn't change.

Thanks!

@amitkot amitkot closed this as completed Nov 14, 2019
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