Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zevaryx committed Feb 23, 2022
1 parent d63824d commit fd3f497
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish package
on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine tomli
pip install -r requirements.txt --upgrade
- name: Publish a project to PyPi
run: |
python setup.py sdist bdist_wheel
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN}}
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 = "pastypy"
version = "1.0.0"
version = "1.0.1"
description = ""
authors = ["Your Name <[email protected]>"]

Expand Down

0 comments on commit fd3f497

Please sign in to comment.