File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5252)
5353from release_notes_generator .utils .enums import DuplicityScopeEnum
5454from release_notes_generator .utils .gh_action import get_action_input
55- from release_notes_generator .utils .utils import _normalize_version_tag
55+ from release_notes_generator .utils .utils import normalize_version_tag
5656
5757logger = logging .getLogger (__name__ )
5858
@@ -121,15 +121,15 @@ def get_tag_name() -> str:
121121 Get the tag name from the action inputs.
122122 """
123123 raw = get_action_input (TAG_NAME ) or ""
124- return _normalize_version_tag (raw )
124+ return normalize_version_tag (raw )
125125
126126 @staticmethod
127127 def get_from_tag_name () -> str :
128128 """
129129 Get the from-tag name from the action inputs.
130130 """
131131 raw = get_action_input (FROM_TAG_NAME , default = "" )
132- return _normalize_version_tag (raw ) # type: ignore[arg-type]
132+ return normalize_version_tag (raw ) # type: ignore[arg-type]
133133
134134 @staticmethod
135135 def is_from_tag_name_defined () -> bool :
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def get_change_url(
7171)
7272
7373
74- def _normalize_version_tag (tag : str ) -> str :
74+ def normalize_version_tag (tag : str ) -> str :
7575 """
7676 Normalize a tag to full 'vMAJOR.MINOR.PATCH' form.
7777
You can’t perform that action at this time.
0 commit comments