Upload to PyPI with twine
The old method fails: ``` Submitting dist/pylast-1.7.0.tar.gz to https://upload.pypi.org/legacy/ Upload failed (403): Invalid or non-existent authentication information. error: Upload failed (403): Invalid or non-existent authentication information. ``` Also don't need to register with twine, despite what its docs say. [CI skip]
This commit is contained in:
parent
a3cf6644fa
commit
6a39962d51
11
RELEASING.md
11
RELEASING.md
|
@ -6,23 +6,22 @@
|
||||||
git checkout master
|
git checkout master
|
||||||
edit pylast/__init__.py setup.py
|
edit pylast/__init__.py setup.py
|
||||||
git add pylast/__init__.py setup.py
|
git add pylast/__init__.py setup.py
|
||||||
git commit -m "Release 1.5.0"
|
git commit -m "Release 1.8.0"
|
||||||
```
|
```
|
||||||
* [ ] Tag the last commit with the version number:
|
* [ ] Tag the last commit with the version number:
|
||||||
```bash
|
```bash
|
||||||
git tag -a 1.5.0 -m "Release 1.5.0"
|
git tag -a 1.8.0 -m "Release 1.8.0"
|
||||||
```
|
```
|
||||||
* [ ] Release on PyPI:
|
* [ ] Release on PyPI:
|
||||||
```bash
|
```bash
|
||||||
python setup.py register
|
twine upload dist/pylast-1.8.0.tar.gz
|
||||||
python setup.py sdist --format=gztar upload
|
|
||||||
```
|
```
|
||||||
* [ ] Check installation: `pip install -U pylast`
|
* [ ] Check installation: `pip install -U pylast`
|
||||||
* [ ] Push: `git push`
|
* [ ] Push: `git push`
|
||||||
* [ ] Push tags: `git push --tags`
|
* [ ] Push tags: `git push --tags`
|
||||||
* [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new
|
* [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new
|
||||||
* Tag: Pick existing tag "1.5.0"
|
* Tag: Pick existing tag "1.8.0"
|
||||||
* Title: "Release 1.5.0"
|
* Title: "Release 1.8.0"
|
||||||
* [ ] Update develop branch from master:
|
* [ ] Update develop branch from master:
|
||||||
```bash
|
```bash
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
|
Loading…
Reference in a new issue