Disable netrc (experimental)
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Nicolai Ort 2023-11-07 19:45:31 +01:00
parent 58c4f67ada
commit d870961563
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -2,13 +2,13 @@
set -euo pipefail set -euo pipefail
if [[ ! -z "${DRONE_NETRC_MACHINE}" ]]; then # if [[ ! -z "${DRONE_NETRC_MACHINE}" ]]; then
cat <<EOF > ${HOME}/.netrc # cat <<EOF > ${HOME}/.netrc
machine ${DRONE_NETRC_MACHINE} # machine ${DRONE_NETRC_MACHINE}
login ${DRONE_NETRC_USERNAME} # login ${DRONE_NETRC_USERNAME}
password ${DRONE_NETRC_PASSWORD} # password ${DRONE_NETRC_PASSWORD}
EOF # EOF
fi # fi
if [[ -z "${DRONE_COMMIT_AUTHOR_NAME}" ]]; then if [[ -z "${DRONE_COMMIT_AUTHOR_NAME}" ]]; then
export DRONE_COMMIT_AUTHOR_NAME=drone export DRONE_COMMIT_AUTHOR_NAME=drone