-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/120 change latest tag selection from time to semantic #124
Feature/120 change latest tag selection from time to semantic #124
Conversation
- Implemented new inpout to define from tag. - Newly user is able to control start point for Release Notes generation.
- Several pylint fixes.
- Applied to project's release draft yaml file.
- Replaced time ordering by semantic one when no from tag defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the way of use semver library. There are some comments, but they are already mentioned in PR #121.
…om-time-to-semantic # Conflicts: # release_notes_generator/generator.py # release_notes_generator/utils/pull_reuqest_utils.py # tests/test_action_inputs.py # tests/test_release_notes_generator.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix please.
release_notes_generator/generator.py
Outdated
@@ -81,7 +82,7 @@ def generate(self) -> Optional[str]: | |||
return None | |||
|
|||
# get the latest release | |||
rls: GitRelease = self.get_latest_release(repo) | |||
rls = self.get_latest_release(repo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep the type hints.
release_notes_generator/generator.py
Outdated
if ActionInputs.is_from_tag_name_defined(): | ||
logger.info("Getting latest release by from-tag name %s", ActionInputs.get_tag_name()) | ||
rls: GitRelease = self._safe_call(repo.get_release)(ActionInputs.get_from_tag_name()) | ||
rls = self._safe_call(repo.get_release)(ActionInputs.get_from_tag_name()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
Release Notes:
Closes #120