Skip to content

Commit

Permalink
Merge pull request bitcoin#7 from CryptAxe/master
Browse files Browse the repository at this point in the history
Update gitian-building.md
  • Loading branch information
psztorc committed Nov 18, 2015
2 parents 91864ee + 00646e0 commit 3ebf38e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions doc/gitian-building.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ Clone the git repositories for hivemind and gitian and then checkout the hivemin

```bash
git clone https://github.com/devrandom/gitian-builder.git
git clone https://github.com/psztorc/hivemind-cpp
cd hivemind-cpp
git clone https://github.com/bitcoin-hivemind/hivemind
cd hivemind
git checkout t${VERSION}
cd ..
```
Expand Down Expand Up @@ -365,9 +365,9 @@ For example:
```bash
URL=https://github.com/laanwj/hivemind.git
COMMIT=2014_03_windows_unicode_path
./bin/gbuild --commit hivemind-cpp=${COMMIT} --url hivemind-cpp=${URL} ../hivemind-cpp/contrib/gitian-descriptors/gitian-linux.yml
./bin/gbuild --commit hivemind-cpp=${COMMIT} --url hivemind-cpp=${URL} ../hivemind-cpp/contrib/gitian-descriptors/gitian-win.yml
./bin/gbuild --commit hivemind-cpp=${COMMIT} --url hivemind-cpp=${URL} ../hivemind-cpp/contrib/gitian-descriptors/gitian-osx.yml
./bin/gbuild --commit hivemind=${COMMIT} --url hivemind=${URL} ../hivemind-cpp/contrib/gitian-descriptors/gitian-linux.yml
./bin/gbuild --commit hivemind=${COMMIT} --url hivemind=${URL} ../hivemind-cpp/contrib/gitian-descriptors/gitian-win.yml
./bin/gbuild --commit hivemind=${COMMIT} --url hivemind=${URL} ../hivemind-cpp/contrib/gitian-descriptors/gitian-osx.yml
```

Signing externally
Expand Down
18 changes: 9 additions & 9 deletions doc/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Release Process
====================

* update translations (ping wumpus, Diapolo or tcatm on IRC)
* see https://github.com/psztorc/hivemind-cpp/blob/master/doc/translation_process.md#syncing-with-transifex
* see https://github.com/bitcoin-hivemind/hivemind/blob/master/doc/translation_process.md#syncing-with-transifex

* * *

Expand Down Expand Up @@ -33,7 +33,7 @@ Release Process

export SIGNER=(your gitian key, ie bluematt, sipa, etc)
export VERSION=(new version, e.g. 0.8.0)
pushd ./hivemind-cpp
pushd ./hivemind
git checkout t${VERSION}
popd
pushd ./gitian-builder
Expand All @@ -54,20 +54,20 @@ Release Process

By default, gitian will fetch source files as needed. For offline builds, they can be fetched ahead of time:

make -C ../hivemind-cpp/depends download SOURCES_PATH=`pwd`/cache/common
make -C ../hivemind/depends download SOURCES_PATH=`pwd`/cache/common

Only missing files will be fetched, so this is safe to re-run for each build.

###Build Hivemind Core for Linux, Windows, and OS X:

./bin/gbuild --commit hivemind-cpp=t${VERSION} ../hivemind-cpp/contrib/gitian-descriptors/gitian-linux.yml
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../hivemind-cpp/contrib/gitian-descriptors/gitian-linux.yml
./bin/gbuild --commit hivemind=t${VERSION} ../hivemind/contrib/gitian-descriptors/gitian-linux.yml
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../hivemind/contrib/gitian-descriptors/gitian-linux.yml
mv build/out/hivemind-*.tar.gz build/out/src/hivemind-*.tar.gz ../
./bin/gbuild --commit hivemind-cpp=t${VERSION} ../hivemind-cpp/contrib/gitian-descriptors/gitian-win.yml
./bin/gsign --signer $SIGNER --release ${VERSION}-win --destination ../gitian.sigs/ ../hivemind-cpp/contrib/gitian-descriptors/gitian-win.yml
./bin/gbuild --commit hivemind=t${VERSION} ../hivemind/contrib/gitian-descriptors/gitian-win.yml
./bin/gsign --signer $SIGNER --release ${VERSION}-win --destination ../gitian.sigs/ ../hivemind/contrib/gitian-descriptors/gitian-win.yml
mv build/out/hivemind-*.zip build/out/hivemind-*.exe ../
./bin/gbuild --commit hivemind-cpp=t${VERSION} ../hivemind-cpp/contrib/gitian-descriptors/gitian-osx.yml
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../hivemind-cpp/contrib/gitian-descriptors/gitian-osx.yml
./bin/gbuild --commit hivemind=t${VERSION} ../hivemind/contrib/gitian-descriptors/gitian-osx.yml
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../hivemind/contrib/gitian-descriptors/gitian-osx.yml
mv build/out/hivemind-*-unsigned.tar.gz inputs/hivemind-osx-unsigned.tar.gz
mv build/out/hivemind-*.tar.gz build/out/hivemind-*.dmg ../
popd
Expand Down

0 comments on commit 3ebf38e

Please sign in to comment.