Skip to content

Commit

Permalink
Merge pull request #20 from DigiKlausur/update_tbump
Browse files Browse the repository at this point in the history
Update tbump
  • Loading branch information
tmetzl authored Oct 22, 2024
2 parents 8a9df91 + 577b3a4 commit adc944e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ dev = [
"hatchling",
"tbump",
"sphinx",
"pydata-sphinx-theme"
"pydata-sphinx-theme",
"build",
"twine",
]

[tool.hatch.version]
Expand Down Expand Up @@ -91,6 +93,14 @@ search = '"version": "{current_version}'
src = "packages/*/package.json"
search = '"@e2xauthoring/[\w-]+": "{current_version}'

[[tool.tbump.before_commit]]
name = "Build"
cmd = "python -m build"

[[tool.tbump.before_commit]]
name = "Check with twine"
cmd = "twine check dist/*"

[tool.ruff]
line-length = 100
ignore-init-module-imports = true
Expand Down

0 comments on commit adc944e

Please sign in to comment.