We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f93f2b commit eca9c3dCopy full SHA for eca9c3d
contrib/gitian-descriptors/assign_DISTNAME
@@ -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