Use git describe correctly
This commit is contained in:
parent
1806273f2f
commit
a8bccd2f1a
|
@ -32,7 +32,7 @@ fi
|
|||
# Actual releases, commit and make an annotated tag with all the commits
|
||||
# since the last.
|
||||
git commit -S -m "Release v${version}"
|
||||
lastver=`git describe`
|
||||
lastver=`git describe --abrev=0`
|
||||
echo "Tag for Release ${version}" > tag_annotation
|
||||
echo >> tag_annotation
|
||||
git log --pretty=oneline ${lastver}..HEAD >> tag_annotation
|
||||
|
|
Loading…
Reference in New Issue
Block a user