jk1z / gitlab-release-note-generator

A Gitlab release note generator
MIT License
97 stars 37 forks source link

Create new release fails #38

Open ciltocruz opened 2 years ago

ciltocruz commented 2 years ago

Hello.

I have found this software and it is wonderful. Thank you. It's 2022 and Gitlab still doesn't have a button in the UI to generate the changelog automatically.

I've tested it and there seems to be a problem when creating new releases. It gives error 400 bad request. According to the documentation, when a release is created a parameter "tag_name" (underscore) must be sent

https://docs.gitlab.com/ee/api/releases/#create-a-release

From what I can see in the code, a "tagName" parameter (camelCase) is sent and this seems to be the problem.

I have debugged the code and this is the body that is sent:

{
  "description": "some changelog text",
  "tagName": "v0.0.5"
}

Can you check to see if I'm right? Thank you.