Skip to content

Commit

Permalink
Merge pull request #64 from pessimistic-io/develop
Browse files Browse the repository at this point in the history
0.2.1 version merge
  • Loading branch information
ndkirillov authored Aug 14, 2023
2 parents d54845e + 6c674b7 commit 31093ab
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Pessimistic Slitherin Package

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[distribute]
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
long_description_content_type="text/markdown",
url="https://github.com/pessimistic-io/slitherin",
author="Pessimistic.io",
version="0.1.0",
version="0.2.1",
package_dir={"":"."},
packages=find_packages(),
license="AGPL-3.0",
Expand Down

0 comments on commit 31093ab

Please sign in to comment.