Skip to content

Commit 796c033

Browse files
Bump to 2.23.0 (#959)
1 parent 3bac725 commit 796c033

File tree

4 files changed

+19
-22
lines changed

4 files changed

+19
-22
lines changed

.github/workflows/publish.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,8 @@ jobs:
5050
--wheel
5151
--outdir dist/
5252
.
53-
- name: Publish distribution 📦 to Test PyPI
53+
- name: Publish distribution 📦 to PyPI
54+
if: startsWith(github.ref, 'refs/tags')
5455
uses: pypa/gh-action-pypi-publish@release/v1
5556
with:
56-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
57-
repository-url: https://test.pypi.org/legacy/
58-
# - name: Publish distribution 📦 to PyPI
59-
# if: startsWith(github.ref, 'refs/tags')
60-
# uses: pypa/gh-action-pypi-publish@release/v1
61-
# with:
62-
# password: ${{ secrets.PYPI_API_TOKEN }}
57+
password: ${{ secrets.PYPI_API_TOKEN }}

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Added
11+
- Replace with changes
12+
13+
### Fixed
14+
15+
### Removed
16+
17+
## [2.23.0] - 2023-04-07
18+
1019
### Added
1120
- Added optional `encoder_cls` argument to `CacheFileHandler`, which overwrite default encoder for token before writing to disk
1221
- Integration tests for searching multiple types in multiple markets (non-user endpoints)

CONTRIBUTING.md

+6-13
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ To make sure if the import lists are stored correctly:
4444
pip install isort
4545
isort . -c -v
4646

47+
### Changelog
48+
49+
Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md)
50+
4751
### Publishing (by maintainer)
4852

4953
- Bump version in setup.py
@@ -52,26 +56,15 @@ To make sure if the import lists are stored correctly:
5256

5357
## Unreleased
5458

55-
// Add new changes below
56-
5759
### Added
60+
- Replace with changes
5861

5962
### Fixed
6063

6164
### Removed
6265

6366
- Commit changes
64-
- Package to pypi:
65-
66-
python setup.py sdist bdist_wheel
67-
python3 setup.py sdist bdist_wheel
68-
twine check dist/*
69-
twine upload dist/*
70-
67+
- Push tag to trigger PyPI build & release workflow
7168
- Create github release https://github.com/plamere/spotipy/releases with the changelog content
7269
for the version and a short name that describes the main addition
7370
- Verify doc uses latest https://readthedocs.org/projects/spotipy/
74-
75-
### Changelog
76-
77-
Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md)

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name='spotipy',
21-
version='2.22.1',
21+
version='2.23.0',
2222
description='A light weight Python library for the Spotify Web API',
2323
long_description=long_description,
2424
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)