Skip to content

Commit

Permalink
feat: automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatu Aalto committed May 30, 2022
1 parent df501a8 commit e55530e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ jobs:
- name: Publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: poetry run invoke release
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
git config user.email "semantic-release"
git config user.name "semantic-release"
poetry run invoke release
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ version_toml = [
"pyproject.toml:tool.poetry.version",
"failure_analysis/__init__.py:__version__"
]
branch = "main"
3 changes: 1 addition & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ def clean(ctx):

@task
def release(ctx):
print("To be done")
pass
ctx.run("semantic-release publish")

0 comments on commit e55530e

Please sign in to comment.