Skip to content

Commit

Permalink
Issue when creating new tag
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
atarutin authored and tarurar committed Nov 11, 2022
1 parent 7c5f84b commit 5ea4776
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions release_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@

import logging

from jira import JIRA, JIRAError
from github import Github
from git import Tag
from github import Github
from jira import JIRA, JIRAError
from core.nova_status import Status

import github_utils as gu
import jira_utils as ju
from core.cvs import GitCloudService
from core.nova_component import NovaComponent
from core.nova_release import NovaRelease
from core.nova_status import Status

import jira_utils as ju
import github_utils as gu


class ReleaseManager:
Expand Down Expand Up @@ -99,7 +98,7 @@ def release_component(self, release: NovaRelease, component: NovaComponent):
git_tag = tag

git_release = repo.create_git_release(
git_tag.name, release.get_title(), component.get_release_notes())
git_tag.tag, release.get_title(), component.get_release_notes())
if git_release is None:
raise Exception(f'Could not create release for tag {git_tag.tag}')

Expand Down

0 comments on commit 5ea4776

Please sign in to comment.