Skip to content

ReleaseProcess

Tom Kralidis edited this page Apr 5, 2024 · 9 revisions

WCMP2 Release Process

Overview

The WCMP2 is managed in GitHub as a working area upstream of the WMO publication process.

Release version convention

The convention used is x.y.z, where x.y.z is the version (e.g. 2.0.0)

Steps

The following steps are taken when creating a WCMP2 release:

  1. Update release version in main branch
  • Edit standard/index.adoc
    • update the :version: tag/marker
  • Edit kpi/index.adoc
    • update the :version: tag/marker
  • Edit schemas/wis2-notification-message-bundled.json
    • update the $id property
  • Commit to main branch
    • git commit -m 'update release version x.y.z' standard/index.adoc kpi/index.adoc schemas/wcmp2-bundled.json
  1. Create release tag
  • ensure you are working in the release branch (i.e. x.y.z)
    git tag -a x.y.z -m 'tagging release x.y.z'
    git push --tags
  1. Create README.txt

Create the following file in /tmp/README.txt:

This directory contains the following artifacts for the WMO Core Metadata Profile (WCMP), version x.y.z (draft):

- examples: Informative examples of WCMP records
- kpis: Informative key performance indicators to evaluate WCMP records
- schemas: Normative JSON Schema for validating WCMP records
- 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 F. 
[https://library.wmo.int/idurl/4/68731]. 

The official codelists will be published at https://codes.wmo.int/wis/.
  1. Create release zip
# build specification documents
cd standard
make pdf
cd ../kpi
make pdf
cd ..
# setup release
mkdir -p release/x.y.z
cd release/x.y.z
mkdir examples kpi schemas standard
cd ../..
cp examples/* release/x.y.z/examples
cp schemas/wcmp2-bundled.json release/x.y.z/schemas/wcmp-x.y.z.json
cp standard/wcmp2.pdf release/x.y.z/standard/wcmp-x.y.z.pdf
mv /tmp/README.txt release/x.y.z
cp kpi/wcmp2-kpi.pdf release/x.y.z/kpi/wcmp-kpi-x.y.z.pdf
cd release
zip -r wcmp-x.y.z.zip x.y.z
  1. Create a release on GitHub.
  • Go to https://github.com/wmo-im/wcmp2/releases
  • Click 'Draft a new release'
  • Under 'Tag Version' add the relevant release tag (x.y.z)
  • Release title should be x.y.z
  • TODO: add release description
  • Click 'Publish release'
  • Send WMO Secretariat a link to the release
  • deploy release on schemas.wmo.int server
Clone this wiki locally