diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e9d6851..c7ae99a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,20 @@ name: Publish to PyPI +# on: +# push: +# branches: +# - master + on: - push: - branches: - - master + release: + types: [published] + +permissions: + contents: read + jobs: - publish: + deploy: runs-on: ubuntu-latest steps: diff --git a/setup.py b/setup.py index 37c7f55..b4a83b7 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='miditoolkit', - version='0.1.17', + version='1.0.0', description='', author='wayne391', author_email='s101062219@gmail.com',