Skip to content

Commit

Permalink
chore: update push tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed May 25, 2023
1 parent 353e509 commit 8b3b293
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,16 @@ force-exclude = '''
type = "simple"

[tool.poe.tasks]
push-tags = [
{ cmd = "git push" },
{ cmd = "git push --tags" },
{ cmd = "poetry publish --build" },
]
release = [
{ shell = "git tag $(poetry version --short)" },
{ cmd = "git add ." },
{ shell = 'git commit -am "new release $(poetry version --short)' },
{ cmd = "git push" },
{ cmd = "git push --tags" },
{ cmd = "poetry publish --build" },
{ ref = "push-tags" },
]

[tool.ruff]
Expand Down

0 comments on commit 8b3b293

Please sign in to comment.