Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Calling create_release causes 404 error on Gitlab 14.0 #619

@divanikus

Description

@divanikus

Long story short, using Tags API to create releases with descriptions is now forbidden and you have to move to Releases API.

Something like that should work:

    def create_release(project, tag, description)
      post("/projects/#{url_encode project}/releases", body: { tag_name: tag, description: description })
    end

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions