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

Idea: function to increment version number #188

Closed
EmilHvitfeldt opened this issue Jan 2, 2018 · 1 comment · Fixed by #223
Closed

Idea: function to increment version number #188

EmilHvitfeldt opened this issue Jan 2, 2018 · 1 comment · Fixed by #223
Labels
feature a feature request or enhancement wip work in progress

Comments

@EmilHvitfeldt
Copy link
Member

Would it be within the scope of this package to have a function similar to usethis::use_dev_version() but instead it could increment the ‘major’, ‘minor’ or ‘patch’ accordingly.

If it is of interest I would be happy to conjure something up.

@jennybc
Copy link
Member

jennybc commented Jan 4, 2018

Interesting idea. Maybe use_dev_version() should be reconceived to be more general? I'm really pushing to get an update out soon and this is not going to make the current release, but could make the one after that.

Not sure what the name should be, but interactively, it could show current version and offer a menu of possible increments, with default behaviour for a non-interactive session (primarily for testing). At a high-level, it would do the same things that use_dev_version() does now, i.e. look after obvious git operations, populate/overwrite Version in DESCRIPTION, and add a heading to NEWS.

@jennybc jennybc added the feature a feature request or enhancement label Jan 16, 2018
@jennybc jennybc added the wip work in progress label Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement wip work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants