Skip to content

Commit

Permalink
Release process doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinandresen committed Nov 10, 2011
1 parent 145b2d0 commit 5efee7d
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions doc/release-process.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@
* Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32:
./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian.yml
./bin/gsign --signer $SIGNER --release $VERSION --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
cd build/out
zip bitcoin-$VERSION-linux-gitian.zip *
pushd build/out
zip -r bitcoin-$VERSION-linux-gitian.zip *
mv bitcoin-$VERSION-linux-gitian.zip ../../
popd
./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
./bin/gsign --signer $SIGNER --release $VERSION-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
cd build/out
zip bitcoin-$VERSION-win32-gitian.zip *
pushd build/out
zip -r bitcoin-$VERSION-win32-gitian.zip *
mv bitcoin-$VERSION-win32-gitian.zip ../../
popd

Build output expected:
1. linux 32-bit and 64-bit binaries + source (bitcoin-$VERSION-linux-gitian.zip)
Expand All @@ -61,18 +63,15 @@
* repackage gitian builds for release as stand-alone zip/tar/installer exe

* Linux .tar.gz:
mkdir bitcoin-$VERSION-linux
cd bitcoin-$VERSION-linux
unzip bitcoin-$VERSION-linux-gitian.zip
cd ..; tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
unzip bitcoin-$VERSION-linux-gitian.zip -d bitcoin-$VERSION-linux
tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
rm -rf bitcoin-$VERSION-linux

* Windows .zip and setup.exe:
mkdir bitcoin-$VERSION-win32
cd bitcoin-$VERSION-win32
unzip bitcoin-$VERSION-win32-gitian.zip
mv bitcoin-$VERSION-win32-setup.exe ..
cd ..; zip bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32

unzip bitcoin-$VERSION-win32-gitian.zip -d bitcoin-$VERSION-win32
mv bitcoin-$VERSION-win32/bitcoin-*-setup.exe .
zip -r bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32
rm -rf bitcoin-$VERSION-win32

* perform Mac build
See this blog post for how Gavin set up his build environment and
Expand Down Expand Up @@ -112,7 +111,7 @@
cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
done
zip bitcoin-$VERSION-linux-gitian.zip *
zip -r bitcoin-$VERSION-linux-gitian.zip *
cp bitcoin-$VERSION-linux-gitian.zip ../
cd ..
mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
Expand All @@ -123,9 +122,7 @@
cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
done
zip bitcoin-$VERSION-linux-gitian.zip *
zip -r bitcoin-$VERSION-linux-gitian.zip *
cp bitcoin-$VERSION-linux-gitian.zip ../

* Upload gitian zips to SourceForge


0 comments on commit 5efee7d

Please sign in to comment.