mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
Makefile: Use git describe to find last tag
This commit is contained in:
parent
351206cd79
commit
1a70731df3
2
Makefile
2
Makefile
@ -85,7 +85,7 @@ release: $(RELEASE_DIR) release-test
|
||||
(cd $(RELEASE_DIR) && git format-patch --stdout HEAD^) | git am
|
||||
|
||||
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)
|
||||
|
||||
make clean_releasedir
|
||||
|
Loading…
Reference in New Issue
Block a user