|
Revision 280, 1.2 KB
(checked in by mg, 3 years ago)
|
|
Update release instructions.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | How to make a PySpaceWar release |
|---|
| 2 | ================================ |
|---|
| 3 | |
|---|
| 4 | (Because I forget) |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | 1. Change the version number in src/pyspacewar/version.py |
|---|
| 8 | 2. Update NEWS.txt |
|---|
| 9 | 3. Commit. |
|---|
| 10 | 4. Tag the release |
|---|
| 11 | |
|---|
| 12 | svn cp svn+ssh://fridge/home/mg/svn/pyspacewar/trunk \ |
|---|
| 13 | svn+ssh://fridge/home/mg/svn/pyspacewar/tags/$version |
|---|
| 14 | |
|---|
| 15 | 5. Create a temporary directory and check out the tag |
|---|
| 16 | |
|---|
| 17 | svn co svn+ssh://fridge/home/mg/svn/newton/tags/$version |
|---|
| 18 | |
|---|
| 19 | 6. Build the tarball and zip file |
|---|
| 20 | |
|---|
| 21 | python setup.py sdist --formats=gztar,zip |
|---|
| 22 | |
|---|
| 23 | 7. Test the archives: go to a temporary directory, untar the tarball, run the |
|---|
| 24 | game (./pyspacewar), run the unit tests (./test.py). |
|---|
| 25 | |
|---|
| 26 | 8. Upload the tarballs and update the pyspacewar website |
|---|
| 27 | |
|---|
| 28 | python setup.py sdist --formats=gztar,zip register upload |
|---|
| 29 | mv dist/* ~/www/pyspacewar/ |
|---|
| 30 | cd ~/www/pyspacewar |
|---|
| 31 | svn add *$version* |
|---|
| 32 | vi index.html |
|---|
| 33 | update the News and Download sections at the very least |
|---|
| 34 | svn ci |
|---|
| 35 | |
|---|
| 36 | 9. Add a '+svn' suffix in src/pyspacewar/version.py and commit. |
|---|
| 37 | |
|---|
| 38 | 10. Announce the new release on PyPI, pygame.org, the pygame mailing list, my |
|---|
| 39 | weblog. |
|---|
| 40 | |
|---|
| 41 | PyPI: just run python setup.py register |
|---|
| 42 | PyGame: log in at http://pygame.org/ |
|---|
| 43 | The list: pygame-users@seul.org |
|---|
| 44 | |
|---|