Skip to content

Commit d45a160

Browse files
committed
Bug 1489608 - document release process
1 parent 92e2878 commit d45a160

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,26 @@ Hacking
124124
New releases should be tested on Travis to allow for all supported versions of Node to be tested. Once satisfied that it works, new versions should be created with
125125
`yarn version` rather than by manually editing `package.json` and tags should be pushed to Github. Make sure to update [the changelog](https://github.com/taskcluster/taskcluster-lib-urls/releases)!
126126

127+
## Releasing
128+
129+
Make the Node release first, as Python's version depends on its `package.json`. This follows the typical tag-and-push-to-publish approach:
130+
131+
132+
```sh
133+
$ npm version minor # or patch, or major
134+
$ git push upstream
135+
```
136+
137+
Once that's done, build the Python sdists (only possible by the [maintainers on pypi](https://pypi.org/project/taskcluster-urls/#files)):
138+
139+
```sh
140+
rm -rf dist/*
141+
python setup.py sdist bdist_wheel
142+
python3 setup.py bdist_wheel
143+
pip install twine
144+
twine upload dist/*
145+
```
146+
127147
License
128148
-------
129149

0 commit comments

Comments
 (0)