Skip to content

Commit

Permalink
fix(ci): fix semantic release config
Browse files Browse the repository at this point in the history
  • Loading branch information
vanutp committed Dec 21, 2024
1 parent bac06a8 commit 98db29c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,10 @@ repository = "https://github.com/tm-a-t/TGPy/"
tgpy = "tgpy.main:main"

[tool.semantic_release]
version_variable = ["tgpy/version.py:__version__", "pyproject.toml:version"]
branch = "master"
upload_to_repository = true
upload_to_release = true
version_variables = ["tgpy/version.py:__version__", "pyproject.toml:version"]
build_command = """sed -i "s/\\(IS_DEV_BUILD *= *\\).*/\\1False/" tgpy/version.py && poetry build"""
commit_subject = 'chore(release): v{version} [skip ci]'
commit_message = ''
commit_message = 'chore(release): v{version} [skip ci]'
commit_author = "github-actions <[email protected]>"

[tool.black]
skip-string-normalization = true
Expand Down

0 comments on commit 98db29c

Please sign in to comment.