-
Make sure that Travis is passing.
-
Update
CHANGES.md
to make sure that all the changes are listed, and updateunreleased
to the current date. -
Update the version number in
setup.py
tov0.x
(without thedev
) -
Run
git clean -fxd
to remove any non-committed files. -
Run:
python setup.py sdist --format=gztar
and make sure that generated file is good to go by going inside
dist
, expanding the tar file, going inside the ``wcsaxes-x.x directory, and running the tests with:python setup.py test --remote-data
-
Go back to the root of the directory and remove the generated files with:
git clean -fxd
-
Add the changes to
CHANGES.md
andsetup.py
:git add CHANGES.md setup.py
and commit with message:
git commit -m "Preparing release <version>"
-
Tag commit with
v<version>
, optionally signing with the-s
option:git tag v<version>
-
Change
VERSION
insetup.py
to next one with.dev
. Add a new section toCHANGES.md
for next version, with a single entry,- No changes yet
. -
Add the changes to
CHANGES.md
andsetup.py
:git add CHANGES.md setup.py
and commit with message:
git commit -m "Back to development: <next_version>"
-
Check out the release commit with
git checkout v<version>
. Rungit clean -fxd
to remove any non-committed files, then release with:python setup.py register sdist --format=gztar upload
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.