Remove unimplemented 'sign' option.
From the initial commit in this project, this script has included a last step driven by the '--sign' option, which may have been a placeholder for some intended feature that as far as I can tell hasn't been implemented at any point in the project's history.
This commit is contained in:
parent
35d1912b79
commit
a51476f2ce
|
@ -3,7 +3,6 @@
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
# What to do
|
# What to do
|
||||||
sign=false
|
|
||||||
verify=false
|
verify=false
|
||||||
build=true
|
build=true
|
||||||
|
|
||||||
|
@ -35,7 +34,7 @@ suite_descriptors_dir_path=${gitian_builder_repo_path}/suites
|
||||||
|
|
||||||
# Help Message
|
# Help Message
|
||||||
read -d '' usage <<- EOF
|
read -d '' usage <<- EOF
|
||||||
Usage: $scriptName [-c|u|v|b|s|B|o|h|j|m|] signer version
|
Usage: $scriptName [-c|u|v|b|o|h|j|m|] signer version
|
||||||
|
|
||||||
Run this script from the directory containing the zcash, gitian-builder, and gitian.sigs repositories.
|
Run this script from the directory containing the zcash, gitian-builder, and gitian.sigs repositories.
|
||||||
|
|
||||||
|
@ -48,8 +47,6 @@ Options:
|
||||||
-u|--url Specify the URL of the repository. Default is {{ zcash_git_repo_url }}
|
-u|--url Specify the URL of the repository. Default is {{ zcash_git_repo_url }}
|
||||||
-v|--verify Verify the gitian build
|
-v|--verify Verify the gitian build
|
||||||
-b|--build Do a gitian build
|
-b|--build Do a gitian build
|
||||||
-s|--sign Make signed binaries
|
|
||||||
-B|--buildsign Build both signed and unsigned binaries
|
|
||||||
-j Number of processes to use. Default 2
|
-j Number of processes to use. Default 2
|
||||||
-m Memory to allocate in MiB. Default 3584
|
-m Memory to allocate in MiB. Default 3584
|
||||||
--detach-sign Create the assert file for detached signing. Will not commit anything.
|
--detach-sign Create the assert file for detached signing. Will not commit anything.
|
||||||
|
@ -68,15 +65,6 @@ while :; do
|
||||||
-b|--build)
|
-b|--build)
|
||||||
build=true
|
build=true
|
||||||
;;
|
;;
|
||||||
# Sign binaries
|
|
||||||
-s|--sign)
|
|
||||||
sign=true
|
|
||||||
;;
|
|
||||||
# Build then Sign
|
|
||||||
-B|--buildsign)
|
|
||||||
sign=true
|
|
||||||
build=true
|
|
||||||
;;
|
|
||||||
# PGP Signer
|
# PGP Signer
|
||||||
-S|--signer)
|
-S|--signer)
|
||||||
if [ -n "$2" ]
|
if [ -n "$2" ]
|
||||||
|
@ -275,22 +263,3 @@ then
|
||||||
|
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sign binaries
|
|
||||||
if [[ $sign = true ]]
|
|
||||||
then
|
|
||||||
|
|
||||||
pushd ${gitian_builder_repo_path}
|
|
||||||
popd
|
|
||||||
|
|
||||||
if [[ $commitFiles = true ]]
|
|
||||||
then
|
|
||||||
# Commit Sigs
|
|
||||||
pushd ${gitian_sigs_repo_path}
|
|
||||||
echo ""
|
|
||||||
echo "Committing ${VERSION} Signed Binary Signatures"
|
|
||||||
echo ""
|
|
||||||
git commit -a -m "Add ${VERSION} signed binary signatures for ${SIGNER}"
|
|
||||||
popd
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue