Skip to content

Commit

Permalink
Merge pull request #66 from mhvk/update-release-instructions
Browse files Browse the repository at this point in the history
Update release instructions
  • Loading branch information
mhvk authored Apr 18, 2021
2 parents 08e56a1 + 08009fa commit e2a3345
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
1.7.x.y (UNRELEASED)
1.7.2 (25/01/2021)
====================

- Bundled liberfa version update to v1.7.2.
- The classproperty decorator is now thread-safe
(backport https://github.com/astropy/astropy/pull/11224).

Expand Down
23 changes: 21 additions & 2 deletions RELEASING.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
Release instructions
====================

Once the package is ready to release, use ``git tag`` to tag the
release::
For a release based on a new version of ``erfa``, first set the
submodule to the right version, and make sure to clean any leftover
files from earlier compilation::

cd liberfa/erfa
git fetch origin
git checkout v1.7.0
git clean -fxd
cd ../..

For any release, first do a last check that things are OK in a clean
environment::

git clean -fxd
tox -e test

Once the package is ready to release, first edit ``CHANGES.rst`` to
add the release data (and add any information needed, such as an
update to the bundled ``liberfa``).

Then, use ``git tag`` to tag the release::

git tag -m <version> <version>

Expand Down

0 comments on commit e2a3345

Please sign in to comment.