alexfish / tug

Build and deploy iOS applications
MIT License
2 stars 0 forks source link

Let cURL handle release notes #4

Closed argon closed 9 years ago

argon commented 9 years ago

I notice that #2 fixes cases with a ' in, however I have seen this fail since and cURL has the ability to read form parameters directly from a file so why not let it handle it?

man curl To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <. The difference between @ and < is then that @ makes a file get attached in the post as a file upload, while the < makes a text field and just get the contents for that text field from a file.

alexfish commented 9 years ago

Less code and fixes it :clap:

alexfish commented 9 years ago

i'll try it out an make a release when i get some time today :sun_with_face: