| 1 |
This documents the procedures we follow for a pysynphot release. |
| 2 |
|
| 3 |
0. The process is begun when the release branch is created from the |
| 4 |
trunk. |
| 5 |
|
| 6 |
1. Check out the release branch to make changes there |
| 7 |
|
| 8 |
2. Update version numbers on the branch and trunk. |
| 9 |
|
| 10 |
Note that pysynphot releases as part of stsci_python *and* as part |
| 11 |
of pyetc. Doublecheck the version number in the last release to |
| 12 |
make sure it's updated properly. |
| 13 |
|
| 14 |
2a. |
| 15 |
The version number is set in |
| 16 |
pysynphot/defsetup.py |
| 17 |
AND |
| 18 |
pysynphot/lib/pysynphot/__init__.py |
| 19 |
AND |
| 20 |
pysynphot/new_config.cfg |
| 21 |
|
| 22 |
- on the branch: remove the .dev |
| 23 |
- on the trunk: increment the number by one |
| 24 |
|
| 25 |
2b. In both branch and trunk: run the doctest and watch it fail. |
| 26 |
setenv PYSYN_CDBS /grp/hst/cdbs |
| 27 |
python |
| 28 |
import pysynphot |
| 29 |
pysynphot._test() |
| 30 |
|
| 31 |
2c. In both branch and trunk: |
| 32 |
Update the doctest in pysynphot/lib/pysynphot/__init__.py to match |
| 33 |
the new version number. Rerun the doctest and watch it pass. |
| 34 |
|
| 35 |
2d. In both branch and trunk: |
| 36 |
Commit these changes -m "Version number bump for $RELEASE_NAME" |
| 37 |
|
| 38 |
6. On the branch: |
| 39 |
Remove items that we do not release, including this document: |
| 40 |
svn rm test/from_commissioning |
| 41 |
svn rm planning |
| 42 |
svn rm commissioning |
| 43 |
svn rm doc/release_checklist.txt |
| 44 |
|
| 45 |
7. On the branch: |
| 46 |
Commit these changes -m "Remove items not to be distributed" |
| 47 |
|