forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Drop make dist in gitian builds
- Loading branch information
Showing
6 changed files
with
48 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 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 | ||
|
||
mkdir -p ${OUTDIR}/src | ||
RECENT_TAG=$(git describe --abbrev=0 HEAD) | ||
if [ $RECENT_TAG = $(git describe HEAD) ]; then | ||
if [[ $RECENT_TAG == v* ]]; then | ||
VERSION=${RECENT_TAG:1} | ||
else | ||
VERSION=$RECENT_TAG | ||
fi | ||
else | ||
VERSION=$(git rev-parse --short HEAD) | ||
fi | ||
DISTNAME=bitcoin-${VERSION} | ||
GIT_ARCHIVE="${OUTDIR}/src/${DISTNAME}.tar.gz" | ||
git archive --output=$GIT_ARCHIVE HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters