From d2c84311ce6491b5412279b2b92968a7c74fcea2 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sun, 26 Nov 2023 17:03:53 +0200 Subject: [PATCH] wscript: always put the short sha1 in the tarball name --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index e2f1c7a6..321b2bc6 100644 --- a/wscript +++ b/wscript @@ -724,7 +724,8 @@ class ladish_dist(Scripting.Dist): self.base_name = Options.options.distname else: try: - self.base_name = self.cmd_and_log("LANG= git describe --tags", quiet=Context.BOTH).splitlines()[0] + sha = self.cmd_and_log("LANG= git rev-parse --short HEAD", quiet=Context.BOTH).splitlines()[0] + self.base_name = APPNAME + '-' + VERSION + "-g" + sha except: self.base_name = APPNAME + '-' + VERSION self.base_name += Options.options.distsuffix