Skip to content

Commit

Permalink
Update release.rst for #137
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed Nov 7, 2023
1 parent 4cfd30b commit 1a67758
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/management/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ not include an update to the catalog on Gadi, skip the first two steps below:
$ export RELEASE=vX.X.X
$ cd bin
$ qsub -v version=${RELEASE} build_all.sh

#. If the `schema <https://github.com/ACCESS-NRI/schema>`_ has changed, or you have not used the intake catalog recently, this step may fail with a *Network is unreachable* error trying to download the schema json files. To workaround::
$ module use /g/data/hh5/public/modules/; module load conda/analysis3
$ python3 -c "from access_nri_intake import source, catalog"

This will cache a copy of the schema in your home directory. Then re-run ``$ qsub -v version=${RELEASE} build_all.sh``
#. [IF UPDATING THE CATALOG] Upon successful completion of the previous step, the :code:`access_nri_intake` data package module
will be updated to point at the new version just created. Commit this update::
Expand All @@ -37,4 +44,4 @@ Alternatively (though discouraged), one can trigger the new release from the com
$ git fetch --all --tags
$ git commit --allow-empty -m "Release $RELEASE"
$ git tag -a $RELEASE -m "Version $RELEASE"
$ git push --tags
$ git push --tags

0 comments on commit 1a67758

Please sign in to comment.