mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 04:12:36 -03:00
Merge pull request #547 from TheBlueMatt/build-updates
Update release-process to point to gitian.sigs repo.
This commit is contained in:
commit
887b9d4113
1 changed files with 11 additions and 11 deletions
|
@ -23,16 +23,16 @@
|
||||||
|
|
||||||
* perform gitian builds
|
* perform gitian builds
|
||||||
|
|
||||||
* From a directory containing the bitcoin source, gitian-builder and bitcoin-gitian-sigs
|
* From a directory containing the bitcoin source, gitian-builder and gitian.sigs
|
||||||
$ export VERSION=0.3.23
|
$ export VERSION=0.3.23
|
||||||
$ cd ./gitian-builder
|
$ cd ./gitian-builder
|
||||||
$ ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian.yml
|
$ ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian.yml
|
||||||
$ ./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION --destination ../bitcoin-gitian-sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
|
$ ./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
|
||||||
$ cd build/out
|
$ cd build/out
|
||||||
$ zip bitcoin-$VERSION-linux-gitian.zip *
|
$ zip bitcoin-$VERSION-linux-gitian.zip *
|
||||||
$ mv bitcoin-$VERSION-linux-gitian.zip ../../
|
$ mv bitcoin-$VERSION-linux-gitian.zip ../../
|
||||||
$ ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
|
$ ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
|
||||||
$ ./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION-win32 --destination ../bitcoin-gitian-sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
|
$ ./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
|
||||||
$ cd build/out
|
$ cd build/out
|
||||||
$ zip bitcoin-$VERSION-win32-gitian.zip *
|
$ zip bitcoin-$VERSION-win32-gitian.zip *
|
||||||
$ mv bitcoin-$VERSION-win32-gitian.zip ../../
|
$ mv bitcoin-$VERSION-win32-gitian.zip ../../
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
Build output expected:
|
Build output expected:
|
||||||
1. linux 32-bit and 64-bit binaries + source (bitcoin-$VERSION-linux-gitian.zip)
|
1. linux 32-bit and 64-bit binaries + source (bitcoin-$VERSION-linux-gitian.zip)
|
||||||
2. windows 32-bit binary, installer + source (bitcoin-$VERSION-win32-gitian.zip)
|
2. windows 32-bit binary, installer + source (bitcoin-$VERSION-win32-gitian.zip)
|
||||||
3. Gitian signatures (in bitcoin-gitian-sigs/$VERSION[-win32]/(your gitian key)/
|
3. Gitian signatures (in gitian.sigs/$VERSION[-win32]/(your gitian key)/
|
||||||
|
|
||||||
* repackage gitian builds for release as stand-alone zip/tar/installer exe
|
* repackage gitian builds for release as stand-alone zip/tar/installer exe
|
||||||
|
|
||||||
|
@ -79,15 +79,15 @@
|
||||||
|
|
||||||
* Collect enough gitian signatures to meet minimum_weight (see contrib/gitian-downloader/*-download-config)
|
* Collect enough gitian signatures to meet minimum_weight (see contrib/gitian-downloader/*-download-config)
|
||||||
|
|
||||||
* From a directory containing bitcoin source, bitcoin-gitian-sigs and gitian zips
|
* From a directory containing bitcoin source, gitian.sigs and gitian zips
|
||||||
$ export VERSION=0.3.23
|
$ export VERSION=0.3.23
|
||||||
$ mkdir bitcoin-$VERSION-win32-gitian; cd bitcoin-$VERSION-win32-gitian
|
$ mkdir bitcoin-$VERSION-win32-gitian; cd bitcoin-$VERSION-win32-gitian
|
||||||
$ unzip ../bitcoin-$VERSION-win32-gitian.zip
|
$ unzip ../bitcoin-$VERSION-win32-gitian.zip
|
||||||
$ mkdir gitian
|
$ mkdir gitian
|
||||||
$ cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
|
$ cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
|
||||||
$ for file in `ls ../bitcoin-gitian-sigs/$VERSION-win32/`; do
|
$ for file in `ls ../gitian.sigs/$VERSION-win32/`; do
|
||||||
$ cp ../bitcoin-gitian-sigs/$VERSION-win32/$file/bitcoin-build.assert ./gitian/$file-build.assert
|
$ cp ../gitian.sigs/$VERSION-win32/$file/bitcoin-build.assert ./gitian/$file-build.assert
|
||||||
$ cp ../bitcoin-gitian-sigs/$VERSION-win32/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
|
$ cp ../gitian.sigs/$VERSION-win32/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
|
||||||
$ done
|
$ done
|
||||||
$ zip bitcoin-$VERSION-win32-gitian.zip *
|
$ zip bitcoin-$VERSION-win32-gitian.zip *
|
||||||
$ cp bitcoin-$VERSION-win32-gitian.zip ../
|
$ cp bitcoin-$VERSION-win32-gitian.zip ../
|
||||||
|
@ -96,9 +96,9 @@
|
||||||
$ unzip ../bitcoin-$VERSION-linux-gitian.zip
|
$ unzip ../bitcoin-$VERSION-linux-gitian.zip
|
||||||
$ mkdir gitian
|
$ mkdir gitian
|
||||||
$ cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
|
$ cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
|
||||||
$ for file in `ls ../bitcoin-gitian-sigs/$VERSION/`; do
|
$ for file in `ls ../gitian.sigs/$VERSION/`; do
|
||||||
$ cp ../bitcoin-gitian-sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
|
$ cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
|
||||||
$ cp ../bitcoin-gitian-sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
|
$ cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
|
||||||
$ done
|
$ done
|
||||||
$ zip bitcoin-$VERSION-linux-gitian.zip *
|
$ zip bitcoin-$VERSION-linux-gitian.zip *
|
||||||
$ cp bitcoin-$VERSION-linux-gitian.zip ../
|
$ cp bitcoin-$VERSION-linux-gitian.zip ../
|
||||||
|
|
Loading…
Reference in a new issue