-
Notifications
You must be signed in to change notification settings - Fork 4
ReleaseProcess
Tom Kralidis edited this page Apr 5, 2024
·
10 revisions
The WIS2 Topic Hierarchy is managed in GitHub as a working area upstream of the WMO publication process.
The convention used is LETTER
, where LETTER
is the alphabetical version of the WIS2 Topic Hierarchy (e.g. a
, b
, etc.).
The following steps are taken when creating a WIS2 Topic Hierarchy release:
- Update release version in
main
branch
- Edit
standard/index.adoc
- update the
:version:
tag/marker
- update the
- Commit to
main
branchgit commit -m 'update release version LETTER' standard/index.adoc
- Create release tag
git tag -a LETTER -m 'tagging release LETTER'
git push --tags
- Create
README.txt
Create the following file in /tmp/README.txt
:
This directory contains the following artifacts for the WIS2 Topic Hierarchy (WTH), version a (draft):
- bundle/wis2-topic-hierarchy-a.zip: CSVs of all topics
- standard: Draft PDF copy of the standard with Abstract Test Suite (ATS)
- Zip file of the above artifacts
The official standard will be published in the Manual on the WMO Information System (WMO-No. 1060), Volume II, Appendix D.
[https://library.wmo.int/idurl/4/68731].
The official topics will be published at https://codes.wmo.int/wis/topic-hierarchy.
- Create release zip
# build specification document
cd standard
make pdf
cd ..
# build bundle
python3 scripts/generate-bundle.py
zip -j /tmp/wis2-topic-hierarchy-LETTER-bundle.zip topic-hierarchy/*.csv
# setup release
mkdir -p release/LETTER
cd release/LETTER
mkdir standard bundle
cd ../..
cp /tmp/wis2-topic-hierarchy-LETTER-bundle.zip release/LETTER/bundle/wis2-topic-hierarchy-LETTER.zip
mv /tmp/README.txt release/LETTER
cp standard/wis2-topic-hierarchy.pdf release/LETTER/standard/wis2-topic-hierarchy-LETTER.pdf
cd release
zip -r wis2-topic-hierarchy-LETTER.zip LETTER
- Create a release on GitHub.
- Go to https://github.com/wmo-im/wis2-topic-hierarchy/releases
- Click 'Draft a new release'
- Under 'Tag Version' add the relevant release tag (LETTER)
- Release title should be
LETTER
- TODO: add release description
- Click 'Publish release'
- Send WMO Secretariat a link to the release
- deploy release on schemas.wmo.int server
- copy zipfile to server
- cd to directory corresponding to https://schemas.wmo.int/wth
- run
unzip wis2-topic-hierarchy-LETTER.zip