commit: 3bc67579b990d53cdcf2ba9b016995b41d2b26a3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 05:26:36 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 05:26:36 2022 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=3bc67579
Fix tag rule for multiple existing tags
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 04bfcdb..9d2d016 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ install-file-%: $(subst _,/,$*)
cp "$(subst _,/,$*)" "$(PREFIX)/$(subst _,/,$*)"
tag:
- git tag -s v$$(( $$(git tag -l --sort=-creatordate | sed -n -e
's:^v::p') + 1 ))
+ git tag -s v$$(( $$(git tag -l --sort=-creatordate | sed -n -e
's:^v::p' | head -n 1) + 1 ))
uninstall : uninstall-files