|
@@ -651,10 +651,12 @@ function signartifacts
|
|
|
|
|
|
big_console_header "Signing the release"
|
|
|
|
|
|
- for i in ${ARTIFACTS_DIR}/*; do
|
|
|
+ run cd "${ARTIFACTS_DIR}"
|
|
|
+ for i in *; do
|
|
|
${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}"
|
|
|
sha512sum --tag "${i}" > "${i}.sha512"
|
|
|
done
|
|
|
+ run cd "${BASEDIR}"
|
|
|
|
|
|
if [[ "${ASFRELEASE}" = true ]]; then
|
|
|
echo "Fetching the Apache Hadoop KEYS file..."
|