Gen Construct Some Coin core


I am new bie
https://github.com/bitcoin/bitcoin/blob/grasp/share/genbuild.sh

The road 22 to 44

if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
# clear 'soiled' standing of touched information that have not been modified
git diff >/dev/null 2>/dev/null

# if newest commit is tagged and never soiled, then override utilizing the tag identify
RAWDESC=$(git describe --abbrev=0 2>/dev/null)
if [ "$(git rev-parse HEAD)" = "$(git rev-list -1 "$RAWDESC" 2>/dev/null)" ]; then
    git diff-index --quiet HEAD -- && GIT_TAG=$RAWDESC
fi

# in any other case generate suffix from git, i.e. string like "59887e8-dirty"
GIT_COMMIT=$(git rev-parse --short=12 HEAD)
git diff-index --quiet HEAD -- || GIT_COMMIT="$GIT_COMMIT-dirty"

fi

if [ -n “$GIT_TAG” ]; then
NEWINFO=”#outline BUILD_GIT_TAG “$GIT_TAG””
elif [ -n “$GIT_COMMIT” ]; then
NEWINFO=”#outline BUILD_GIT_COMMIT “$GIT_COMMIT””
else
NEWINFO=”// No construct data obtainable”
fi

If my git proprietor can construct contemporary model

Its imply the proprietor can construct model for exp : somecoin-core v1.0.0.0
Exp:

enter image description here

If clone from github.com and construct this present : somecoin-core v1.0.0.0 xxxxxxxx

Exp:

enter image description here

If code change after construct this present :somecoin-core v1.0.0.0 xxxxxxxx -dirty
for exp:

enter image description here

The best way to legitimate my proprietor code to construct somecoin-core v1.0.0.0?
Thanks very a lot

Leave a Reply

Your email address will not be published. Required fields are marked *