Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored version->tag mapping logic in Tagger
While the `tito.VersionTagger._get_new_tag()` method encapsulated some of the version->tag mapping logic, other areas in the `VersionTagger` used their own logic to do the mapping. This commit ensures that this mapping happens in one place, which allows for custom implementations to override the behavior simply. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
- Loading branch information
1 parent
b277962
commit 7154ac4
Showing
2 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters