aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorjosibake <josibake@protonmail.com>2021-12-22 15:33:20 +0100
committerjosibake <josibake@protonmail.com>2022-05-04 20:45:14 +0200
commit50635d27b45d125b6264ac2abfbd6a1129c7228f (patch)
tree59b195a16766df3530f9f98cbf1a0cab63684656 /contrib
parent6aac946f49aea243de1dc50631bb72f0186bbf58 (diff)
build: include bitcoin.conf in build outputs
copy over bitcoin.conf during the build process. this means `contrib/devtools/gen-bitcoin-conf.sh` will need to be run and the generated file committed during the release process. this is the same process used for generating man pages for each release.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/guix/libexec/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index 2757d10a7c..cdf0020d4d 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -368,6 +368,10 @@ mkdir -p "$DISTSRC"
;;
esac
+ # copy over the example bitcoin.conf file. if contrib/devtools/gen-bitcoin-conf.sh
+ # has not been run before buildling, this file will be a stub
+ cp "${DISTSRC}/share/examples/bitcoin.conf" "${DISTNAME}/"
+
# Finally, deterministically produce {non-,}debug binary tarballs ready
# for release
case "$HOST" in