0
0
mirror of https://github.com/namecoin/namecoin-core synced 2025-10-06 00:22:46 +02:00

Namecoin: Rebrand git-utils

This enables properly stripping the "nc" prefix from Guix-built
binaries.
This commit is contained in:
Jeremy Rand
2022-02-15 05:39:17 +00:00
parent 86e721d2f9
commit df4aee806f

View File

@@ -7,7 +7,7 @@ git_root() {
git_head_version() {
local recent_tag
if recent_tag="$(git describe --exact-match HEAD 2> /dev/null)"; then
echo "${recent_tag#v}"
echo "${recent_tag#nc}"
else
git rev-parse --short=12 HEAD
fi