Use git describe --tags rather than plain git describe

This commit is contained in:
Gwilym Kuiper 2022-03-28 22:59:53 +01:00
parent f6ae4f731b
commit 2a99fd780e

View file

@ -19,7 +19,7 @@ mv "$CLONE_DIR/.git" "$TEMP_DIR/.git"
cp -rva template/. "$TEMP_DIR"
# git describe will give a unique, friendly name for the current commit to make it easier to track where this came from
VERSION=$(git describe)
VERSION=$(git describe --tags)
COMMIT_MESSAGE="Update to $VERSION"
git -C "$TEMP_DIR" add .