aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/assign_DISTNAME
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gitian-descriptors/assign_DISTNAME')
-rw-r--r--contrib/gitian-descriptors/assign_DISTNAME12
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/gitian-descriptors/assign_DISTNAME b/contrib/gitian-descriptors/assign_DISTNAME
deleted file mode 100644
index 330fbc041b..0000000000
--- a/contrib/gitian-descriptors/assign_DISTNAME
+++ /dev/null
@@ -1,12 +0,0 @@
-# Copyright (c) 2020 The Bitcoin Core developers
-# Distributed under the MIT software license, see the accompanying
-# file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#
-# A helper script to be sourced into the gitian descriptors
-
-if RECENT_TAG="$(git describe --exact-match HEAD 2> /dev/null)"; then
- VERSION="${RECENT_TAG#v}"
-else
- VERSION="$(git rev-parse --short=12 HEAD)"
-fi
-DISTNAME="bitcoin-${VERSION}"