Skip to content
Snippets Groups Projects

Releases feature

Merged username-removed-444 requested to merge releases-feature into master
  • documentation
  • API
  • API documentation

Continue of !1752 (merged)

Part of #2701 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Added 1 commit:

  • username-removed-444 Status changed to merged

    Status changed to merged

  • @dzaporozhets I looked at the API and I think it would make more sense to change the endpoint from PUT /projects/:id/repository/tags to PUT /projects/:id/repository/tags/:tag. I can make this change, but this should got into 8.2. @stanhu What do you think?

  • Furtheremore, shouldn't the field tag be changed to tag_name to be consistent with other API methods.

    Edited by username-removed-2900
  • Maintainer

    @razer6 Yes, I think making the API PUT /projects/:id/repository/tags/:tag_name/release makes the API consistent. We should make the change for 8.2.

  • I'll make a MR

  • There is another thing. The API responds with

    {
      "tag": "1.0.0",
      "description": "Amazing release. Wow"
    }

    This should be changed to tag_name as well.

  • Ok for consistency 😃

  • Please register or sign in to reply
    Loading