Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 19, 2023
1 parent 1e4b516 commit 69f225b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/repodynamics/actions/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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()
Expand Down

0 comments on commit 69f225b

Please sign in to comment.