Skip to content

create CHANGELOG.md without updating file

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

From the doc. https://docs.gitlab.com/ee/api/repositories.html#add-changelog-data-to-a-changelog-file : GET /projects/:id/repository/changelog "Works exactly like POST /projects/:id/repository/changelog"

but this is false: Parameter 'branch' is missing, and using "GET /projects/:id/repository/changelog" will return changes from different branches (that occurred between the from/to versions) !

Please add this "branch" parameter to the "GET" !

(PS: We have this situation where we want to include the CHANGELOG.md in the "build", so our app can read and display the changelog in the GUI. If we include the POST in the pipeline, it will update the file on every build therefor we must concat CHANGELOG.md with the result of GET - maybe a more generic solution could be found.)

Edited by 🤖 GitLab Bot 🤖