How to create and publish a Release using GitHub API v3 with curl?

前端 未结 2 1399
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-15 23:54

According to the github api documentation (https://developer.github.com/v3/repos/releases/) I need to send a post request including a payload that requires the tag_name. So I pr

2条回答
  •  有刺的猬
    2021-02-16 00:12

    I had this problem and found that removing the slash in the path after releases solved it:

    https://api.github.com/repos/codeStyler87/test-tags/releases
    

    not

    https://api.github.com/repos/codeStyler87/test-tags/releases/
    

    Either that or it's completely random like the OP.

提交回复
热议问题