Skip to content

Commit eca9c3d

Browse files
authored
Create assign_DISTNAME
1 parent 9f93f2b commit eca9c3d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2024 The Bitcoin Core developers
2+
# Copyright (c) 2024 The litedoge Core developers
3+
# Distributed under the MIT software license, see the accompanying
4+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5+
#
6+
# A helper script to be sourced into the gitian descriptors
7+
8+
if RECENT_TAG="$(git describe --exact-match HEAD 2> /dev/null)"; then
9+
VERSION="${RECENT_TAG#v}"
10+
else
11+
VERSION="$(git rev-parse --short=12 HEAD)"
12+
fi
13+
DISTNAME="litedoge-${VERSION}"

0 commit comments

Comments
 (0)