-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add instructions of how to extract the version of the repo #475
base: main
Are you sure you want to change the base?
Conversation
(Don't think this needs two reviewers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, doesn't quite work as desired:
❯ git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0
latest
description: |- | ||
Can be found by | ||
```sh | ||
git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0 | |
git -C "$HOME/.cookiecutters/python-tooling" describe --match "v*" --tags --candidates 1 |
Ah probably because the |
This will need testing once #471 is merged. Closes #263.
Can't think of a nice way to make this Windows friendly.