From eb229978141f6732308312ad54f13188abcc044d Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Tue, 22 Oct 2024 14:49:33 +0100 Subject: [PATCH] Add instructions of how to extract the version of the repo This will need testing once #471 is merged. Closes #263. --- .github/ISSUE_TEMPLATE/bug_report.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 098b8b9e..ac40c0ad 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -36,17 +36,17 @@ body: of errors you receive. validations: required: true - # - id: version - # type: input - # attributes: - # label: Version In Use - # description: |- - # Can be found by - # ```sh - # python -c "import sleplet; print(sleplet.__version__)" - # ``` - # validations: - # required: true + - id: version + type: input + attributes: + label: Version In Use + description: |- + Can be found by + ```sh + git -C "$HOME/.cookiecutters/python-tooling" describe --tags --abbrev=0 + ``` + validations: + required: true - id: additional type: textarea attributes: