From 6c99857adc7a7faa4ecf4d240cc5ac7c8d3b2003 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 12 Sep 2025 12:17:57 +0200 Subject: [PATCH] Replace version git command to get the last tag --- codex/conf.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex/conf.nim b/codex/conf.nim index 1bc357fc..149f8152 100644 --- a/codex/conf.nim +++ b/codex/conf.nim @@ -475,7 +475,7 @@ func prover*(self: CodexConf): bool = self.persistence and self.persistenceCmd == PersistenceCmd.prover proc getCodexVersion(): string = - let tag = strip(staticExec("git tag")) + let tag = strip(staticExec("git describe --tags --abbrev=0")) if tag.isEmptyOrWhitespace: return "untagged build" return tag