Skip to content

Commit 3cb1da1

Browse files
Update custom tito tagger for new version
Tito upstream changed the method signature of the version to tag resolution routine. We need to update our implementation to stay in sync. Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 53d15ef commit 3cb1da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tito/lib/origin/tagger/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ def _tag_release(self):
3939
inject_os_git_vars(self.spec_file)
4040
super(OriginTagger, self)._tag_release()
4141

42-
def _get_tag_for_version(self, version):
42+
def _get_tag_for_version(self, version, release=None):
4343
return "v{}".format(version)
4444
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:

0 commit comments

Comments
 (0)