Merge pull request #1730 from Bugagazavr/patch-6

Correct permission for netrc file
This commit is contained in:
Brad Rydzewski 2016-07-21 16:57:57 -07:00 committed by GitHub
commit 2240ac354c

View file

@ -65,6 +65,7 @@ machine $DRONE_NETRC_MACHINE
login $DRONE_NETRC_USERNAME login $DRONE_NETRC_USERNAME
password $DRONE_NETRC_PASSWORD password $DRONE_NETRC_PASSWORD
EOF EOF
chmod 0600 $HOME/.netrc
fi fi
unset DRONE_NETRC_USERNAME unset DRONE_NETRC_USERNAME