diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d937059f..2c1fe1ff 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,13 +50,8 @@ jobs: --wheel --outdir dist/ . - - name: Publish distribution 📦 to Test PyPI + - name: Publish distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository-url: https://test.pypi.org/legacy/ -# - name: Publish distribution 📦 to PyPI -# if: startsWith(github.ref, 'refs/tags') -# uses: pypa/gh-action-pypi-publish@release/v1 -# with: -# password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fc7f7f0d..e09a9c7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added +- Replace with changes + +### Fixed + +### Removed + +## [2.23.0] - 2023-04-07 + ### Added - Added optional `encoder_cls` argument to `CacheFileHandler`, which overwrite default encoder for token before writing to disk - Integration tests for searching multiple types in multiple markets (non-user endpoints) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 688bebc6..3dd2c276 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,6 +44,10 @@ To make sure if the import lists are stored correctly: pip install isort isort . -c -v +### Changelog + +Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md) + ### Publishing (by maintainer) - Bump version in setup.py @@ -52,26 +56,15 @@ To make sure if the import lists are stored correctly: ## Unreleased - // Add new changes below - ### Added + - Replace with changes ### Fixed ### Removed - Commit changes - - Package to pypi: - - python setup.py sdist bdist_wheel - python3 setup.py sdist bdist_wheel - twine check dist/* - twine upload dist/* - + - Push tag to trigger PyPI build & release workflow - Create github release https://github.com/plamere/spotipy/releases with the changelog content for the version and a short name that describes the main addition - Verify doc uses latest https://readthedocs.org/projects/spotipy/ - -### Changelog - -Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md) diff --git a/setup.py b/setup.py index 08482ace..dd1ab177 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name='spotipy', - version='2.22.1', + version='2.23.0', description='A light weight Python library for the Spotify Web API', long_description=long_description, long_description_content_type="text/markdown",