Skip to content

Commit f3f300c

Browse files
author
Gauvain Pocentek
committed
Tags release description: support / in tag names
1 parent 72664c4 commit f3f300c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitlab/v4/objects.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,8 @@ def set_release_description(self, description, **kwargs):
10201020
GitlabCreateError: If the server fails to create the release
10211021
GitlabUpdateError: If the server fails to update the release
10221022
"""
1023-
path = '%s/%s/release' % (self.manager.path, self.get_id())
1023+
id = self.get_id().replace('/', '%2F')
1024+
path = '%s/%s/release' % (self.manager.path, id)
10241025
data = {'description': description}
10251026
if self.release is None:
10261027
try:

0 commit comments

Comments
 (0)