I'm new bie https://github.com/bitcoin/bitcoin/blob/master/share/genbuild.sh

The line 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
# clean 'dirty' status of touched files that haven't been modified
git diff >/dev/null 2>/dev/null

# if latest commit is tagged and not dirty, then override using the tag name
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

# otherwise 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"


if [ -n "$GIT_TAG" ]; then NEWINFO="#define BUILD_GIT_TAG "$GIT_TAG"" elif [ -n "$GIT_COMMIT" ]; then NEWINFO="#define BUILD_GIT_COMMIT "$GIT_COMMIT"" else NEWINFO="// No build information available" fi

If my git owner can build fresh version

Its mean the owner can build version for exp : somecoin-core v1.0.0.0 Exp:

enter image description here

If clone from github.com and build this show : somecoin-core v1.0.0.0 xxxxxxxx


enter image description here

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

enter image description here

How to valid my owner code to build somecoin-core v1.0.0.0? Thank you very much

  • This question makes no sense sorry.
    – meshcollider
    Jan 16 at 9:50

Browse other questions tagged or ask your own question.