@@ -63,7 +63,7 @@ If you're using the automated script (found in [contrib/gitian-build.sh](/contri
63
63
Setup Gitian descriptors:
64
64
65
65
pushd ./bitcoin
66
- export SIGNER=(your Gitian key, ie bluematt, sipa, etc)
66
+ export SIGNER=" (your Gitian key, ie bluematt, sipa, etc)"
67
67
export VERSION=(new version, e.g. 0.8.0)
68
68
git fetch
69
69
git checkout v${VERSION}
@@ -113,16 +113,16 @@ The gbuild invocations below <b>DO NOT DO THIS</b> by default.
113
113
114
114
pushd ./gitian-builder
115
115
./bin/gbuild --num-make 2 --memory 3000 --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
116
- ./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
116
+ ./bin/gsign --signer " $SIGNER" --release ${VERSION}-linux --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
117
117
mv build/out/bitcoin-*.tar.gz build/out/src/bitcoin-*.tar.gz ../
118
118
119
119
./bin/gbuild --num-make 2 --memory 3000 --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
120
- ./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
120
+ ./bin/gsign --signer " $SIGNER" --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
121
121
mv build/out/bitcoin-*-win-unsigned.tar.gz inputs/bitcoin-win-unsigned.tar.gz
122
122
mv build/out/bitcoin-*.zip build/out/bitcoin-*.exe ../
123
123
124
124
./bin/gbuild --num-make 2 --memory 3000 --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
125
- ./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
125
+ ./bin/gsign --signer " $SIGNER" --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
126
126
mv build/out/bitcoin-*-osx-unsigned.tar.gz inputs/bitcoin-osx-unsigned.tar.gz
127
127
mv build/out/bitcoin-*.tar.gz build/out/bitcoin-*.dmg ../
128
128
popd
@@ -152,9 +152,9 @@ Verify the signatures
152
152
Commit your signature to gitian.sigs:
153
153
154
154
pushd gitian.sigs
155
- git add ${VERSION}-linux/${SIGNER}
156
- git add ${VERSION}-win-unsigned/${SIGNER}
157
- git add ${VERSION}-osx-unsigned/${SIGNER}
155
+ git add ${VERSION}-linux/" ${SIGNER}"
156
+ git add ${VERSION}-win-unsigned/" ${SIGNER}"
157
+ git add ${VERSION}-osx-unsigned/" ${SIGNER}"
158
158
git commit -a
159
159
git push # Assuming you can push to the gitian.sigs tree
160
160
popd
@@ -199,7 +199,7 @@ Create (and optionally verify) the signed OS X binary:
199
199
200
200
pushd ./gitian-builder
201
201
./bin/gbuild -i --commit signature=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-osx-signer.yml
202
- ./bin/gsign --signer $SIGNER --release ${VERSION}-osx-signed --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx-signer.yml
202
+ ./bin/gsign --signer " $SIGNER" --release ${VERSION}-osx-signed --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx-signer.yml
203
203
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-osx-signed ../bitcoin/contrib/gitian-descriptors/gitian-osx-signer.yml
204
204
mv build/out/bitcoin-osx-signed.dmg ../bitcoin-${VERSION}-osx.dmg
205
205
popd
@@ -208,7 +208,7 @@ Create (and optionally verify) the signed Windows binaries:
208
208
209
209
pushd ./gitian-builder
210
210
./bin/gbuild -i --commit signature=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml
211
- ./bin/gsign --signer $SIGNER --release ${VERSION}-win-signed --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml
211
+ ./bin/gsign --signer " $SIGNER" --release ${VERSION}-win-signed --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml
212
212
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-win-signed ../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml
213
213
mv build/out/bitcoin-*win64-setup.exe ../bitcoin-${VERSION}-win64-setup.exe
214
214
mv build/out/bitcoin-*win32-setup.exe ../bitcoin-${VERSION}-win32-setup.exe
@@ -217,8 +217,8 @@ Create (and optionally verify) the signed Windows binaries:
217
217
Commit your signature for the signed OS X/Windows binaries:
218
218
219
219
pushd gitian.sigs
220
- git add ${VERSION}-osx-signed/${SIGNER}
221
- git add ${VERSION}-win-signed/${SIGNER}
220
+ git add ${VERSION}-osx-signed/" ${SIGNER}"
221
+ git add ${VERSION}-win-signed/" ${SIGNER}"
222
222
git commit -a
223
223
git push # Assuming you can push to the gitian.sigs tree
224
224
popd
0 commit comments