summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects')
-rw-r--r--gitlab/v4/objects/releases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/releases.py b/gitlab/v4/objects/releases.py
index 6216e45..e27052d 100644
--- a/gitlab/v4/objects/releases.py
+++ b/gitlab/v4/objects/releases.py
@@ -19,7 +19,7 @@ class ProjectReleaseManager(CRUDMixin, RESTManager):
_obj_cls = ProjectRelease
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(
- required=("name", "tag_name", "description"), optional=("ref", "assets")
+ required=("tag_name", "description"), optional=("name", "ref", "assets")
)
_update_attrs = RequiredOptional(
optional=("name", "description", "milestones", "released_at")