Skip to content

Commit 7c2dea4

Browse files
committed
Merge pull request #5569
0d50c2f dmg: fix deterministic dmg creation and docs (Cory Fields)
2 parents fe39ce6 + 0d50c2f commit 7c2dea4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

contrib/gitian-descriptors/gitian-osx-signer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages:
1010
reference_datetime: "2013-06-01 00:00:00"
1111
remotes: []
1212
files:
13-
- "bitcoin-0.9.99-osx-unsigned.tar.gz"
13+
- "bitcoin-osx-unsigned.tar.gz"
1414
- "signature.tar.gz"
1515
script: |
1616
WRAP_DIR=$HOME/wrapped
@@ -28,8 +28,8 @@ script: |
2828
chmod +x ${WRAP_DIR}/${prog}
2929
done
3030
31-
UNSIGNED=`echo bitcoin-*.tar.gz`
32-
SIGNED=`echo ${UNSIGNED} | sed 's/.tar.*//' | sed 's/-unsigned//'`.dmg
31+
UNSIGNED=bitcoin-osx-unsigned.tar.gz
32+
SIGNED=bitcoin-osx-signed.dmg
3333
3434
tar -xf ${UNSIGNED}
3535
./detached-sig-apply.sh ${UNSIGNED} signature.tar.gz

doc/release-process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Release Process
6868
mv build/out/bitcoin-*.zip build/out/bitcoin-*.exe ../
6969
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
7070
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
71-
mv build/out/bitcoin-*-unsigned.tar.gz inputs
71+
mv build/out/bitcoin-*-unsigned.tar.gz inputs/bitcoin-osx-unsigned.tar.gz
7272
mv build/out/bitcoin-*.tar.gz build/out/bitcoin-*.dmg ../
7373
popd
7474
Build output expected:
@@ -102,7 +102,7 @@ Commit your signature to gitian.sigs:
102102
cp signature.tar.gz inputs/
103103
./bin/gbuild -i ../bitcoin/contrib/gitian-descriptors/gitian-osx-signer.yml
104104
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-signed --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx-signer.yml
105-
mv build/out/bitcoin-${VERSION}-osx.dmg ../
105+
mv build/out/bitcoin-osx-signed.dmg ../bitcoin-${VERSION}-osx.dmg
106106
popd
107107

108108
Commit your signature for the signed OSX binary:

0 commit comments

Comments
 (0)