Skip to content

Commit

Permalink
fix release note
Browse files Browse the repository at this point in the history
  • Loading branch information
dovahcrow committed Aug 5, 2022
1 parent 98d3994 commit acc8863
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/release-note.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
from typing import Dict, List, Optional, Tuple

from docopt import docopt
from git import Commit, Repo
from git import Commit
from git.repo import Repo
from jinja2 import Template

VERSION_REG = re.compile(r"^v(\d+)\.(\d+)\.(\d+)")
Expand Down Expand Up @@ -79,11 +80,9 @@ def main() -> None:

repo = Repo(".")
assert repo.bare == False

hash = args["<hash>"]
this_commits, handle = commits_since_previous(repo.commit(hash))


version = VERSION_REG.match(handle.message).group()

previous_commits: List[Commit] = []
Expand Down

0 comments on commit acc8863

Please sign in to comment.