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

Feature: Suggest version for bump-version #885

Merged
merged 2 commits into from
Feb 21, 2022

Conversation

Imipenem
Copy link
Collaborator

Associated Template/Command/Core

bump-version

PR Checklist

  • This comment contains a description of changes (with reason)
  • Referenced issue is linked
  • Documentation in docs is updated

Description of changes

Calling cookietemple bump-version will now allow not passing a version parameter without throwing an error.
Instead, it will suggest three valid options to choose from.

Technical details

This will only work from the main (head) directory of the project due to some constrains on how click allows passing of cli parameters.

- bump-version now allows passing no new version and let users choose from valid option

- this only works for the current working directory
@github-actions github-actions bot added the enhancement New feature or request label Feb 21, 2022
Copy link
Member

@Zethson Zethson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Imipenem Imipenem merged commit ff3dedb into development Feb 21, 2022
@Imipenem Imipenem deleted the feature/suggest_version branch February 21, 2022 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants