diff --git a/pyproject.toml b/pyproject.toml index da0c5a0e..6d10ea5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ namespaces = true # ----------------------------------------- Project Metadata ------------------------------------- # [project] -version = "0.0.0.dev102" +version = "0.0.0.dev103" name = "RepoDynamics" dependencies = [ "packaging >= 23.2, < 24", diff --git a/src/repodynamics/actions/init.py b/src/repodynamics/actions/init.py index c9af0924..0a41ac21 100644 --- a/src/repodynamics/actions/init.py +++ b/src/repodynamics/actions/init.py @@ -472,7 +472,7 @@ def event_push_tag_modified(self): def event_push_branch_created(self): if self.ref_is_main: - if not self.last_ver: + if not self.git.get_tags(): self.event_repository_created() else: self.logger.skip( @@ -490,7 +490,7 @@ def event_push_branch_deleted(self): def event_push_branch_modified(self): if self.ref_is_main: - if not self.last_ver: + if not self.git.get_tags(): self.event_first_release() else: self.event_push_branch_modified_main()