Skip to content

Commit

Permalink
šŸ› fix: remove unused semantic hook and update semantic release configā€¦
Browse files Browse the repository at this point in the history
ā€¦uration
  • Loading branch information
jedzill4 committed Jan 25, 2025
1 parent 8fe9baa commit 3435d90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 28 deletions.
Empty file removed hooks/__init__.py
Empty file.
20 changes: 0 additions & 20 deletions hooks/semantic_hook.py

This file was deleted.

13 changes: 5 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,17 +160,14 @@ version_file = "aymurai/version.py"
# Semantic-release configuration
#######################################################################################
[tool.semantic_release]
version_source = "tag" # Semantic-release uses Git tags to determine versions
# branch = "main" # Release from the main branch
branch = "feature/gh-actions" # Release from the main branch
commit_parser = "emoji" # Use Gitmoji for commit parsing
changelog_file = "CHANGELOG.md" # Optional changelog generation
version_source = "tag" # Semantic-release uses Git tags to determine versions
version_variables = ["aymurai/version.py:__version__"]
branch = "feature/gh-actions" # Release from the main branch
commit_parser = "emoji" # Use Gitmoji for commit parsing
changelog_file = "CHANGELOG.md" # Optional changelog generation
upload_to_pypi = false


[tool.semantic_release.hooks]
post_version = "hooks.semantic_hooks:post_version"

[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease = false
Expand Down

0 comments on commit 3435d90

Please # to comment.