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:
@@ -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
|
||||
|
Reference in New Issue
Block a user