Add gitian_sigs_repo_path variable to gitian-build.sh
This commit is contained in:
parent
aeb6b8a9e4
commit
13e090d6aa
|
@ -23,6 +23,7 @@ signProg="gpg --detach-sign"
|
||||||
commitFiles=true
|
commitFiles=true
|
||||||
|
|
||||||
gitian_builder_repo_path=${HOME}/gitian-builder
|
gitian_builder_repo_path=${HOME}/gitian-builder
|
||||||
|
gitian_sigs_repo_path=${HOME}/gitian.sigs
|
||||||
zcash_repo_dir_path=${HOME}/zcash
|
zcash_repo_dir_path=${HOME}/zcash
|
||||||
zcash_binaries_dir_path=${HOME}/zcash-binaries
|
zcash_binaries_dir_path=${HOME}/zcash-binaries
|
||||||
|
|
||||||
|
@ -202,7 +203,7 @@ then
|
||||||
echo "Compiling ${VERSION} Linux"
|
echo "Compiling ${VERSION} Linux"
|
||||||
echo ""
|
echo ""
|
||||||
./bin/gbuild -j ${proc} -m ${mem} --commit zcash=${COMMIT} --url zcash=${url} ${zcash_repo_dir_path}/contrib/gitian-descriptors/gitian-linux.yml
|
./bin/gbuild -j ${proc} -m ${mem} --commit zcash=${COMMIT} --url zcash=${url} ${zcash_repo_dir_path}/contrib/gitian-descriptors/gitian-linux.yml
|
||||||
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION} --destination ../gitian.sigs/ ${zcash_repo_dir_path}/contrib/gitian-descriptors/gitian-linux.yml
|
./bin/gsign -p "$signProg" --signer "$SIGNER" --release ${VERSION} --destination ${gitian_sigs_repo_path}/ ${zcash_repo_dir_path}/contrib/gitian-descriptors/gitian-linux.yml
|
||||||
mv build/out/zcash-*.tar.gz build/out/src/zcash-*.tar.gz ${zcash_binaries_dir_path}/${VERSION}
|
mv build/out/zcash-*.tar.gz build/out/src/zcash-*.tar.gz ${zcash_binaries_dir_path}/${VERSION}
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
@ -213,7 +214,7 @@ then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Committing ${VERSION} Signatures"
|
echo "Committing ${VERSION} Signatures"
|
||||||
echo ""
|
echo ""
|
||||||
pushd gitian.sigs
|
pushd ${gitian_sigs_repo_path}
|
||||||
git add ${VERSION}/${SIGNER}
|
git add ${VERSION}/${SIGNER}
|
||||||
git commit -a -m "Add ${VERSION} signatures for ${SIGNER}"
|
git commit -a -m "Add ${VERSION} signatures for ${SIGNER}"
|
||||||
popd
|
popd
|
||||||
|
@ -228,7 +229,7 @@ then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Verifying ${VERSION} Linux"
|
echo "Verifying ${VERSION} Linux"
|
||||||
echo ""
|
echo ""
|
||||||
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION} ${zcash_repo_dir_path}/contrib/gitian-descriptors/gitian-linux.yml
|
./bin/gverify -v -d ${gitian_sigs_repo_path}/ -r ${VERSION} ${zcash_repo_dir_path}/contrib/gitian-descriptors/gitian-linux.yml
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -242,7 +243,7 @@ then
|
||||||
if [[ $commitFiles = true ]]
|
if [[ $commitFiles = true ]]
|
||||||
then
|
then
|
||||||
# Commit Sigs
|
# Commit Sigs
|
||||||
pushd gitian.sigs
|
pushd ${gitian_sigs_repo_path}
|
||||||
echo ""
|
echo ""
|
||||||
echo "Committing ${VERSION} Signed Binary Signatures"
|
echo "Committing ${VERSION} Signed Binary Signatures"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue