Skip to content

Commit

Permalink
💚 fix semantic-release publishing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Oct 12, 2023
1 parent 8d2a28a commit fd808a8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
- name: Release
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: semantic-release publish
run: semantic-release version
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ hiredis = { file = "requirements/hiredis.txt" }

[tool.semantic_release]
branch = "main"
build_command = false
commit_message = ""
commit_parser = "semantic_release.history.emoji_parser"
commit_subject = "🔖 v{version}"
commit_message = "🔖 v{version}"
commit_parser = "semantic_release.commit_parser.emoji:EmojiCommitParser"
commit_subject = ""
major_on_zero = false
upload_to_release = false
upload_to_repository = false
version_toml = "pyproject.toml:project.version"
version_toml = ["pyproject.toml:project.version"]

[tool.black]
line-length = 80

[tool.ruff]
ignore = [
"E741"
# ambiguous variable name
"E741",
]
line-length = 80
target-version = "py311"
89 changes: 28 additions & 61 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
#
# pip-compile dev.in
#
annotated-types==0.6.0
# via pydantic
black==23.1.0
# via -r dev.in
bleach==6.0.0
# via readme-renderer
build==0.10.0
# via pip-tools
certifi==2023.7.22
# via requests
cffi==1.15.1
# via cryptography
cfgv==3.3.1
# via pre-commit
charset-normalizer==3.1.0
Expand All @@ -22,21 +20,12 @@ click==8.1.3
# via
# -c requirements.in
# black
# click-log
# pip-tools
# python-semantic-release
click-log==0.4.0
# via python-semantic-release
colorama==0.4.6
# via twine
coverage==7.2.2
# via -r dev.in
cryptography==41.0.4
# via secretstorage
distlib==0.3.6
# via virtualenv
docutils==0.19
# via readme-renderer
dotty-dict==1.3.1
# via python-semantic-release
filelock==3.10.7
Expand All @@ -49,22 +38,16 @@ identify==2.5.22
# via pre-commit
idna==3.4
# via requests
importlib-metadata==6.8.0
# via
# keyring
# twine
invoke==1.7.3
importlib-resources==5.13.0
# via python-semantic-release
jaraco-classes==3.2.3
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
keyring==23.13.1
# via twine
more-itertools==9.1.0
# via jaraco-classes
jinja2==3.1.2
# via python-semantic-release
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.3
# via jinja2
mdurl==0.1.2
# via markdown-it-py
mypy-extensions==1.0.0
# via black
nodeenv==1.7.0
Expand All @@ -75,77 +58,61 @@ packaging==23.0
# via
# black
# build
# python-semantic-release
parameterized==0.9.0
# via -r dev.in
pathspec==0.11.1
# via black
pip-tools==6.13.0
# via -r dev.in
pkginfo==1.9.6
# via twine
platformdirs==3.2.0
# via
# black
# virtualenv
pre-commit==3.2.1
# via -r dev.in
pycparser==2.21
# via cffi
pydantic==2.4.2
# via python-semantic-release
pydantic-core==2.10.1
# via pydantic
pygments==2.16.1
# via readme-renderer
# via rich
pyproject-hooks==1.0.0
# via build
python-gitlab==3.13.0
# via python-semantic-release
python-semantic-release==7.33.2
python-semantic-release==8.1.1
# via -r dev.in
pyyaml==6.0.1
# via pre-commit
readme-renderer==37.3
# via twine
requests==2.31.0
# via
# python-gitlab
# python-semantic-release
# requests-toolbelt
# twine
requests-toolbelt==0.10.1
# via python-gitlab
rich==13.6.0
# via
# python-gitlab
# twine
rfc3986==2.0.0
# via twine
# -c requirements.in
# python-semantic-release
ruff==0.0.259
# via -r dev.in
secretstorage==3.3.3
# via keyring
semver==2.13.0
shellingham==1.5.3
# via python-semantic-release
six==1.16.0
# via bleach
smmap==5.0.0
# via gitdb
tomlkit==0.11.7
# via python-semantic-release
tqdm==4.65.0
# via twine
twine==3.8.0
# via python-semantic-release
urllib3==1.26.17
typing-extensions==4.8.0
# via
# requests
# twine
# pydantic
# pydantic-core
urllib3==1.26.17
# via requests
virtualenv==20.21.0
# via pre-commit
webencodings==0.5.1
# via bleach
wheel==0.40.0
# via
# pip-tools
# python-semantic-release
zipp==3.17.0
# via importlib-metadata
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ markdown-it-py[linkify,plugins]==3.0.0
# mdit-py-plugins
# rich
# textual
markupsafe==2.1.2
markupsafe==2.1.3
# via
# jinja2
# werkzeug
Expand Down Expand Up @@ -110,7 +110,7 @@ tree-sitter==0.20.2
# tree-sitter-languages
tree-sitter-languages==1.7.0
# via textual
typing-extensions==4.5.0
typing-extensions==4.8.0
# via
# asyncssh
# textual
Expand Down

0 comments on commit fd808a8

Please sign in to comment.