-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c53210e
commit 73e028f
Showing
2 changed files
with
45 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
To release a new version of python-lsp-jsonrpc: | ||
## Before the release: | ||
|
||
1. Create pull request to update CHANGELOG.md with | ||
* `loghub python-lsp/python-lsp-jsonrpc -m vX.X.X` | ||
* git add -A && git commit -m "Update changelog for X.X.X" | ||
|
||
This is necessary to run our tests before the release, so we can be sure | ||
everything is in order. | ||
|
||
## To release a new version of python-lsp-jsonrpc: | ||
|
||
1. git fetch upstream && git checkout upstream/master | ||
2. Close milestone on GitHub | ||
3. git clean -xfdi | ||
4. Update CHANGELOG.md with loghub | ||
5. git add -A && git commit -m "Update Changelog" | ||
6. Update release version in ``_version.py`` (set release version, remove 'dev0') | ||
7. git add -A && git commit -m "Release vX.X.X" | ||
8. python setup.py sdist | ||
9. python setup.py bdist_wheel | ||
10. twine check | ||
11. twine upload | ||
12. git tag -a vX.X.X -m "Release vX.X.X" | ||
13. Update development version in ``_version.py`` (add 'dev0' and increment minor) | ||
14. git add -A && git commit -m "Back to work" | ||
15. git push upstream master | ||
16. git push upstream --tags | ||
4. git tag -a vX.X.X -m "Release vX.X.X" | ||
5. python -m pip install --upgrade pip | ||
6. pip install --upgrade --upgrade-strategy eager build setuptools twine wheel | ||
7. python -bb -X dev -W error -m build | ||
8. twine check --strict dist/* | ||
9. twine upload dist/* | ||
10. git push upstream --tags | ||
11. Create release on Github |