Skip to content

Commit

Permalink
Merge pull request #3 from sdispater/release-0.3.1
Browse files Browse the repository at this point in the history
Release 0.3.1
  • Loading branch information
sdispater authored Jul 31, 2020
2 parents 2ab4b9d + db4bbb7 commit de4bfbf
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,30 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Get tag
id: tag
run: |
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: python -m pip install --upgrade pip poetry
- name: Configure pypi credentials
run: python -m pip install --upgrade pip poetry --pre
- name: Publish release to PyPI
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: poetry config http-basic.pypi __token__ "$PYPI_API_TOKEN"
- name: Publish release to pypi
run: poetry publish --build
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry build
poetry publish
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.tag }}
release_name: ${{ steps.tag.outputs.tag }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion crashtest/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.0"
__version__ = "0.3.1"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "crashtest"
version = "0.3.0"
version = "0.3.1"
description = "Manage Python errors with ease"
authors = ["Sébastien Eustace <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit de4bfbf

Please sign in to comment.