Skip to content

Conversation

@eliaperantoni
Copy link

@eliaperantoni eliaperantoni commented Jun 14, 2021

Lately this script stopped working. The request that creates the release returns 400 with this text:

{
    "message":"Release notes modification via tags API is deprecated, see https://gitlab.com/gitlab-org/gitlab/-/issues/290311"
}

There was some change in the GitLab API that deprecated the creation/updation of releases by using the tag endpoint. The old method eventually stopped working.

You can read more about that here:
https://gitlab.com/gitlab-org/gitlab/-/issues/290311

This PR provides a fix that makes the script work with the new API that can be found here:
https://docs.gitlab.com/ee/api/releases/#create-a-release
https://docs.gitlab.com/ee/api/releases/#update-a-release

In the meantime, if anyone needs to get it working quickly you can use this container:
https://hub.docker.com/repository/docker/hex08/gitlab-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant