-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release: 0.2.2 * release: 0.2.2
- Loading branch information
Showing
3 changed files
with
12 additions
and
16 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,22 +1,14 @@ | ||
# Releasing to Pypi instructions | ||
|
||
|
||
## Test release on test.pypi.org | ||
- Create new branch and PR named: `release/X.Y.Z`. | ||
- Update `setup.py` and CHANGELOG.md. | ||
- Let CI run and be green, then merge. | ||
- Release to Pypi | ||
|
||
``` bash | ||
python setup.py sdist bdist_wheel | ||
twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
``` | ||
|
||
Testing the release | ||
|
||
```bash | ||
pip install --index-url https://test.pypi.org/simple/ elasticsearch-dbapi | ||
twine upload dist/* | ||
``` | ||
- tag X.Y.Z | ||
- Create github release | ||
|
||
## Release to Pypi | ||
|
||
``` bash | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* | ||
``` |
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