1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

Makefile: Use git describe to find last tag

This commit is contained in:
Johan Andersson 2015-09-13 23:33:22 +02:00
parent 351206cd79
commit 1a70731df3

View File

@ -85,7 +85,7 @@ release: $(RELEASE_DIR) release-test
(cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am (cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am
git tag -m "New version $(NEW_RELEASE)" \ git tag -m "New version $(NEW_RELEASE)" \
-m "$$(git log --oneline $(LATEST_RELEASE)..HEAD^)" \ -m "$$(git log --oneline $(git describe --abbrev=0)..HEAD^)" \
$(NEW_RELEASE) $(NEW_RELEASE)
make clean_releasedir make clean_releasedir