File tree Expand file tree Collapse file tree 2 files changed +43
-13
lines changed
Expand file tree Collapse file tree 2 files changed +43
-13
lines changed Original file line number Diff line number Diff line change 1+ sudo : false
2+ language : python
3+ python :
4+ - ' 2.7'
5+ - ' 3.5'
6+ - ' 3.6'
7+ install :
8+ - pip install -e .
9+ script :
10+ -
11+ deploy :
12+ provider : pypi
13+ user : azpycli
14+ password :
15+ secure : KR8oVFKCYdbhws/IcXMLdZXP+XYSAnyMv38RG4KyzfXyUGwozpiS+IePBxt+CbIEZtyJe/ZDEA48f27jFEH4QwV9lbdmjapR2/+hmT2meBqKhZ1NrtvIc4tJM3CD+G674cKVypwnTB9Rqav2BPjiM0i2ErX2HShuSXO2MCd0vfoeFJa3/LwIJ8r1iDoSWNhT40LI572FQjRpBBU/bpr1MSAtO5Sz7XWBIGBQo8MxejJedtMGhy4dVJfTHRhxd4gx4YrXvbIYkXdd1vMEr8AYy/0P62r2s3RyydUWpEr4g/5qkK2wB+EKz7kuHhbHTsfyDfW6PbAGkp1CfzQ6BcGvhSO/SWShtR+6s5MQzrAi2dLUIv2UGTbopCg386eENoL8PDtD0QLdBhdaIqaYcJYfyZ9nANiwmtDwbvetWvZ2mHoOSU2W/w5IXxnh7n1j20ECcB55BtqSRe5C1flGzMuz1BPyYgXbX5rWPi3PTsXrhz22MLH6oMC1hKg0HBZaHB414wjziya17h5WK4h2M6jh8eZRLwpVF2fLgUyCN2XzQY9LkVRuOtfwNtC4nPRgSVdCKAbELBY0q74cs8nKp7RIHmB3X/7BbPRz2bvzFwwdNTmxzv5FGldikbdrJY2sfLO7BTUbbe7T4B1r1d0eBHFG9a0XXrRFHEKLLQCu6kufklY=
16+ distributions : sdist bdist_wheel
17+ on :
18+ tags : true
Original file line number Diff line number Diff line change @@ -6,23 +6,35 @@ python setup.py bdist_wheel
66```
77
88### Publishing
9- You are now ready to publish the package to PyPI.
109
11- There are many ways to publish but here is a template using Twine.
12- ``` bash
13- echo " [distutils]
14- index-servers =
15- cli-pypi
10+ Modify the version number in ` setup.py ` and modify changelog in README.rst then create a pull request for the changes.
1611
17- [cli-pypi]
18- repository: <PYPI_REPO_URL>
19- username: <PYPI_REPO_USERNAME>
20- password: <PYPI_REPO_PASSWORD>
21- " > ~ /.pypirc
12+ #### Release with Travis CI
2213
14+ Once the changes have been merged to master, create a tag on GitHub for that commit.
15+ Follow the format of other releases in the release notes you create on GitHub.
16+
17+ A Travis CI build will be kicked-off that will publish to PyPI.
18+
19+ #### Release manually
20+
21+ Once the changes have been merged to master, continue with the rest of the release.
22+
23+ ```
24+ git clone https://github.com/Azure/azure-multiapi-storage-python
25+ cd azure-multiapi-storage-python
26+ python setup.py sdist bdist_wheel
27+ ```
28+
29+ ```
2330pip install twine
24- # Uploads the packages in dist/ to the server referred to by cli-pypi.
25- twine upload -r cli-pypi dist/*
31+ ```
32+
33+ ```
34+ export TWINE_REPOSITORY_URL=https://upload.pypi.org/legacy/
35+ export TWINE_USERNAME=A_USERNAME
36+ export TWINE_PASSWORD=A_SECRET
37+ twine upload dist/*
2638```
2739
2840### Installing
You can’t perform that action at this time.
0 commit comments