From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF4CC1581F3 for ; Sat, 30 Nov 2024 05:12:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22594E07D0; Sat, 30 Nov 2024 05:12:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08409E07D0 for ; Sat, 30 Nov 2024 05:12:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 254DC342F9B for ; Sat, 30 Nov 2024 05:12:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4E8216DA for ; Sat, 30 Nov 2024 05:12:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732943540.301d1bb0c55e2e848a13decae8201e674e1600f7.sam@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 301d1bb0c55e2e848a13decae8201e674e1600f7 X-VCS-Branch: master Date: Sat, 30 Nov 2024 05:12:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f60324ce-20e1-4da9-8bd6-e1538b9ba3e3 X-Archives-Hash: 394d0efdb4ddcdbdde19204df33b2590 commit: 301d1bb0c55e2e848a13decae8201e674e1600f7 Author: Sam James gentoo org> AuthorDate: Sat Nov 30 05:12:20 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 30 05:12:20 2024 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=301d1bb0 Makefile: use git describe Lets us handle .1 and so on. Signed-off-by: Sam James gentoo.org> Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aa07a91..a935a98 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ install: sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/crossdev $(MAKE) -C wrappers install -PV = $(shell test -e .git && date --date="`git log -1 --format=%ci`" +%Y%m%d) +PV = $(shell test -e .git && git describe) P = crossdev-$(PV) COMP = xz dist: