Follow this document to make new Phenopacket store release.
-
Start on
main
branch -
Ensure
main
branch is clean with no uncommitted changes -
If required, install phenopacket-store-toolkit
python3 -m pip install phenopacket-store-toolkit[release]
-
Generate release archives with
ppktstore
CLI. For instance, run following to generate a release0.1.23
:python3 -m ppktstore package --notebook-dir notebooks --release-tag 0.1.23 --output all_phenopackets
This will pack all phenopackets found in
notebooks
folder intoall_phenopackets.zip
ZIP file. The ZIP file includes a top-level folder that corresponds to the used release tag (e.g.0.1.23
in this case). -
Run the
PhenopacketStoreStats
notebook to update the stats (after updating the release_tag variable). -
Commit the changes in the notebook
-
Push the commits to GitHub
-
Go to Releases and click on Draft a new release button to start making a new release
-
Click on Choose a tag dropdown, type the release in (e.g.
0.1.23
), and click on Create new tag on publish (IMPORTANT!) -
Click on Generate release notes button to add what's changed into the release notes
-
Attach the release archive generated in the 4th step by dragging it into the area located below the release notes
-
Click Publish release to make the release
Done!