|
| 1 | +<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc --> |
| 2 | +**Table of Contents** |
| 3 | + |
| 4 | +- [Get latest sources:](#get-latest-sources) |
| 5 | +- [Change version in xdis/version.py.](#change-version-in-xdisversionpy) |
| 6 | +- [Update ChangeLog:](#update-changelog) |
| 7 | +- [Update NEWS.md from ChangeLog. Then:](#update-newsmd-from-changelog-then) |
| 8 | +- [Make sure pyenv is running and check newer versions](#make-sure-pyenv-is-running-and-check-newer-versions) |
| 9 | +- [Update NEWS.md from master branch](#update-newsmd-from-master-branch) |
| 10 | +- [Make packages and tag](#make-packages-and-tag) |
| 11 | +- [Upload](#upload) |
| 12 | +- [Upload rest of versions](#upload-rest-of-versions) |
| 13 | +- [Push tags:](#push-tags) |
| 14 | +- [Check on a VM](#check-on-a-vm) |
| 15 | + |
| 16 | +<!-- markdown-toc end --> |
| 17 | + |
| 18 | +# Get latest sources: |
| 19 | + |
| 20 | + $ git pull |
| 21 | + |
| 22 | +# Change version in xdis/version.py. |
| 23 | + |
| 24 | + $ emacs xpython/version.py |
| 25 | + $ source xpython/version.py |
| 26 | + $ echo $VERSION |
| 27 | + $ git commit -m"Get ready for release $VERSION" . |
| 28 | + |
| 29 | + |
| 30 | +# Update ChangeLog: |
| 31 | + |
| 32 | + $ make ChangeLog |
| 33 | + |
| 34 | +# Update NEWS.md from ChangeLog. Then: |
| 35 | + |
| 36 | + $ emacs NEWS.md |
| 37 | + $ make check |
| 38 | + $ git commit --amend . |
| 39 | + $ git push # get CI testing going early |
| 40 | + $ make check-full |
| 41 | + |
| 42 | +# Update NEWS.md from master branch |
| 43 | + |
| 44 | + $ git commit -m"Get ready for release $VERSION" . |
| 45 | + |
| 46 | +# Make packages and tag |
| 47 | + |
| 48 | + $ . ./admin-tools/make-dist.sh |
| 49 | + $ twine check dist/x-python-$VERSION* |
| 50 | + |
| 51 | +Goto https://github.com/rocky/x-python/releases/new |
| 52 | + |
| 53 | + |
| 54 | +# Upload |
| 55 | + |
| 56 | + $ twine upload dist/xdis-${VERSION}* |
| 57 | + |
| 58 | +Check on https://pypi.org/project/x-python/ |
| 59 | + |
| 60 | +# Upload rest of versions |
| 61 | + |
| 62 | + $ twine upload dist/xdis-${VERSION}* |
| 63 | + |
| 64 | +# Push tags: |
| 65 | + |
| 66 | + $ git push --tags |
| 67 | + |
| 68 | +# Check on a VM |
| 69 | + |
| 70 | + $ cd /virtual/vagrant/virtual/vagrant/ubuntu-zesty |
| 71 | + $ vagrant up |
| 72 | + $ vagrant ssh |
| 73 | + $ pyenv local 3.5.2 |
| 74 | + $ pip install --upgrade xdis |
| 75 | + $ exit |
| 76 | + $ vagrant halt |
0 commit comments