Skip to content

Commit

Permalink
switching to https for the autoupload version of the script (untestsed)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartazio committed Sep 12, 2014
1 parent f432a99 commit 3e70154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hackagedocs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ "${S}" -eq "0" ]; then
CS=$?
if [ "${CS}" -eq "0" ]; then
echo "Uploading to Hackage…"
curl -X PUT -H 'Content-Type: application/x-tar' -H 'Content-Encoding: gzip' --data-binary "@${DDIR}.tar.gz" "http://${3}:${4}@hackage.haskell.org/package/${1}-${2}/docs"
curl -X PUT -H 'Content-Type: application/x-tar' -H 'Content-Encoding: gzip' --data-binary "@${DDIR}.tar.gz" "https://${3}:${4}@hackage.haskell.org/package/${1}-${2}/docs"
exit $?
else
echo "Error when packaging the documentation"
Expand Down

0 comments on commit 3e70154

Please sign in to comment.