aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-04-07 02:06:53 +0200
committerPieter Wuille <[email protected]>2012-04-10 18:16:53 +0200
commita20c0d0f6792acf532309eee2e9f29120c801ee4 (patch)
tree0065544e660157fa0701977583b2876c81e833dd /doc
parentMerge pull request #987 from luke-jr/ipc_name_fix (diff)
downloaddiscoin-a20c0d0f6792acf532309eee2e9f29120c801ee4.tar.xz
discoin-a20c0d0f6792acf532309eee2e9f29120c801ee4.zip
Build identification strings
All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
Diffstat (limited to 'doc')
-rw-r--r--doc/release-process.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/release-process.txt b/doc/release-process.txt
index 051a2151b..3f3c6dad6 100644
--- a/doc/release-process.txt
+++ b/doc/release-process.txt
@@ -2,7 +2,7 @@
* update (commit) version in sources
bitcoin-qt.pro
- src/main.h (CLIENT_VERSION : PROTOCOL_VERSION in serialize.h is updated only on protocol changes)
+ src/version.cpp
share/setup.nsi
doc/README*