~tardypad/dotfiles

ea0b87f09e70f24cdb620397d6c81623b6fcb263 — Damien Tardy-Panis 4 months ago 9feab1d
Fix git-semantic-tag to also find non annotated tags
1 files changed, 1 insertions(+), 1 deletions(-)

M files/scripts/git/git-semantic-tag
M files/scripts/git/git-semantic-tag => files/scripts/git/git-semantic-tag +1 -1
@@ 61,7 61,7 @@ get_next_tag() {

semantic_tag() {
  PROJECT_NAME="$( basename "$( pwd )" )"
  LAST_TAG="$( git describe --abbrev=0 )"
  LAST_TAG="$( git describe --abbrev=0 --tags )"
  NEXT_TAG="$( get_next_tag "${LAST_TAG}" )"
  LOG="$( git shortlog --no-merges "${LAST_TAG}..HEAD" )"