Skip to content

Commit ed5b3cc

Browse files
authored
Merge pull request #14 from djmitche/bug1489608
Bug 1489608 - try to fix releases
2 parents 815cb35 + 7956e6d commit ed5b3cc

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ deploy:
2323
2424
skip_cleanup: true
2525
api_key:
26-
secure: LegnCcsUuXaAkG+1CqaSDvOnXjkgfrcB/SXOB5X1DI668Zny76ifnLzvBv1DRYnf7vc3cZy2dHEuAjsg0Ima1eanw0Pjyvh0SF8CPrlXuSPXuqFsbxsHsPtYj7BLCixRDG+4vTIhKIDKY0DFoLa6/HcLr0kyIuPOeJ7nkwKxjnPiCzv1stoBL3HujbodALPCPRo9eGZqv8MQu5Cuk+z2ZPRO05XrHxWfVfjBGCVIZqg9Sy/lzukFCNdpOdsv2YP4po4Kk7qcTTgDeZm5k/0i0oxWMlETasJOJI4EkZBWLX9YBu6ZE2kgr8x3S4E1PvHWgsoL9tYJgSFaQ51nE/w6IyTB1vLi65ZJRLO1YbYhJt+GNivEhDSZ7E6liwLiga+Sfc7bGaoJ2l0Ccas410hStXIM+rhgOem+Sr1CmplOb9aZ1B8Wdc9+3yev1myqqWp8KoDT1QCvWmf6OhWyjGGnyzasGAQhSaDa9E+81KgYUeDXB1V0DAnr64yBDbT8jzV30gdPzDUsZABowuiBALdKfg2+k27ZW7GaaTvE45equ5T8nFJr47GuYmaEkVgqHYeLa3g6DmHSr1/Z8PqXdXIP0ATkiXY2QgyN7Z93d0WcaIxF/2tMLFb30LQOOrLhPALKf1R8CyPSuiIc/NRugAWfJx6VuU6SNSLWb1hqt72XC9w=
26+
secure: Af1jZIlFU7rxuJS12fb5N4yyz0VHsvgS7haSr5+a9yrMuxWpxLPdDSVlB33KOyhKoUYUY+ayJQqN2I+WYtGf7BYHGgPe6kNR5cCOseH1cRfmPrvNhQEWMrc7stWa6cHOpbI/3gZn6jSigKf6vLm4Wr8fOR+TLQ6tDaKzpqoZW8W6TwJyeM+9BQUY3aHuR6qb+ItpfrtR12vsOtLqDG7KImo0NhIb3ae91/HjC+EqL0UUJWYiqxg7Nkk2ziCWPYL1b554cKXf5HjOQUzWolHDEDybS20H8K20PSMUk3SZ79TKdqI3asXc8+V6AGCmgnq6cT4zLBk0gx6PoZWU6y3/OI1IYRSs7BGdrCiBGRlgAGSXnHoVWA6NDbQrkUrBVmhBKjnhyhO/q8la6fAPqHP2LgEQ6/RvT8XS9y1jpUwt233P+rjsXCW+nyF09cZAZ/CTCwGFuyMhtQZycA5SFE/IDZ3B+B5VMK7+HnC8j2QS/OKaNZXJivvIDpZzKXDz3TsHIlOY2WgfzvHXgCGnuRSNdx6ulgW9RvNOI5/AeWOvdFb3rnb8y8d3jllk1GUDcwycJ0Y702QuwBTzGnrCFl8AR8uEwUY29QSlPgXie2mdweDt1A2xM8iQ9IQeC1nlm71f9msSsa3PDzchJ6R5Shafuiz59UjkfDsekJ6sWvXTkbM=
2727
on:
2828
tags: true
2929
repo: taskcluster/taskcluster-lib-urls

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,27 @@ mvn test
203203
Releasing
204204
---------
205205

206-
New releases should be tested on Travis and Taskcluster to allow for all supported versions of Node to be tested. Once satisfied that it works, new versions should be created with
207-
`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)!
206+
New releases should be tested on Travis and Taskcluster to allow for all supported versions of various languages to be tested. Once satisfied that it works, new versions should be created with
207+
`npm version` rather than by manually editing `package.json` and tags should be pushed to Github.
208208

209+
Make the Node release first, as Python's version depends on its `package.json`. This follows the typical tag-and-push-to-publish approach:
210+
211+
```sh
212+
$ npm version minor # or patch, or major
213+
$ git push upstream
214+
```
215+
216+
Once that's done, build the Python sdists (only possible by the [maintainers on pypi](https://pypi.org/project/taskcluster-urls/#files)):
217+
218+
```sh
219+
rm -rf dist/*
220+
python setup.py sdist bdist_wheel
221+
python3 setup.py bdist_wheel
222+
pip install twine
223+
twine upload dist/*
224+
```
225+
226+
Make sure to update [the changelog](https://github.com/taskcluster/taskcluster-lib-urls/releases)!
209227
210228
License
211229
-------

0 commit comments

Comments
 (0)