forked from Shopify/shopify_python_api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRELEASING
More file actions
27 lines (17 loc) · 928 Bytes
/
RELEASING
File metadata and controls
27 lines (17 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Releasing shopify_python_api
1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
2. Update version in shopify/version.py
3. Update CHANGELOG entry for the release.
4. Commit the changes
git commit -m "Release vX.Y.Z"
5. Tag the release with the version
git tag -m "Release X.Y.Z" vX.Y.Z
6. Push the changes to github
git push --tags origin master
7. Configure your credentials for pypi in $HOME/.pypirc. Do not specify a repository URL.
(see https://docs.python.org/2/distutils/packageindex.html#the-pypirc-file for further instructions)
8. Create the source package using sdist
python setup.py sdist
8. Upload the source package to pypi using twine – you need to be a package owner in pypi to do this
twine upload dist/ShopifyAPI-x.y.z.tar.gz
If you need access to pypi (in general, this is only for Shopify staff members) ping @jamiemtdwyer.