Skip to content

Commit

Permalink
Remove release script from pyproject
Browse files Browse the repository at this point in the history
I realised that when users install beets, this `release` script would
also get installed for them, which is not ideal, I guess.
  • Loading branch information
snejus committed Jun 14, 2024
1 parent c7da941 commit e7ece96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ web = ["flask", "flask-cors"]

[tool.poetry.scripts]
beet = "beets.ui:main"
release = "extra.release:cli"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down Expand Up @@ -170,12 +169,12 @@ args = { path = { help = "Path to isort", positional = true, multiple = true, de

[tool.poe.tasks.bump]
help = "Bump project version and update relevant files"
cmd = "release bump $version"
cmd = "python ./extra/release.py bump $version"
args = { version = { help = "The new version to set", positional = true, required = true } }

[tool.poe.tasks.changelog]
help = "Print the latest version's changelog in Markdown"
cmd = "release changelog"
cmd = "python ./extra/release.py changelog"

[tool.poe.tasks.check-docs-links]
help = "Check the documentation for broken URLs"
Expand Down

0 comments on commit e7ece96

Please sign in to comment.