Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@


## v1.19.2
## v1.19.2 (2020-05-03)

### Fix

Expand Down
3 changes: 3 additions & 0 deletions commitizen/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import os
import re
from collections import defaultdict
from datetime import date
from typing import Dict, Iterable, List, Optional

import pkg_resources
Expand Down Expand Up @@ -80,6 +81,8 @@ def generate_tree_from_commits(

current_tag_name: str = unreleased_version or "Unreleased"
current_tag_date: str = ""
if unreleased_version is not None:
current_tag_date = date.today().isoformat()
if current_tag is not None and current_tag.name:
current_tag_name = current_tag.name
current_tag_date = current_tag.date
Expand Down