Skip to content

Commit

Permalink
Release 0.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
pnrobinson committed Aug 5, 2024
1 parent c5dd6b6 commit 1650990
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 184 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,4 @@ age_dist.pdf
age_dist.png
Figure1.pdf
Figure1.png
Figure1.svg
24 changes: 14 additions & 10 deletions HOW_TO_RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@ Follow this document to make new Phenopacket store release.
2. Ensure `main` branch is clean with no uncommitted changes
3. Update `src/ppktstore/__init__.py` to set `ppktstore.__version__` to the desired version (e.g. `0.1.16`)
4. Commit the change (e.g. with a commit message "Release 0.1.16")
5. Generate release archives with `ppktstore` CLI:
5. If required, update the local installation to make sure we get the latest version
```shell
python3 -m pip install -e .
```
6. Generate release archives with `ppktstore` CLI:
```shell
python3 -m ppktstore package --notebook-dir notebooks --format zip --output all_phenopackets
```

This will generate `all_phenopackets.zip` archive file in the current directory
6. Run the `PhenopacketStoreStats` notebook to update the stats
7. Commit the changes in the notebook
8. Push the commits to GitHub
9. Go to [Releases](https://github.com/monarch-initiative/phenopacket-store/releases) and click on *Draft a new release* button to start making a new release
10. Click on *Choose a tag* dropdown, type the release in (e.g. `0.1.16`), and click on *Create new tag on publish* (**IMPORTANT!**)
7. Run the `PhenopacketStoreStats` notebook to update the stats
8. Commit the changes in the notebook
9. Push the commits to GitHub
10. Go to [Releases](https://github.com/monarch-initiative/phenopacket-store/releases) and click on *Draft a new release* button to start making a new release
11. Click on *Choose a tag* dropdown, type the release in (e.g. `0.1.16`), and click on *Create new tag on publish* (**IMPORTANT!**)
![Choose a tag](img/choose_a_tag.png)
11. Click on *Generate release notes* button to add what's changed into the release notes
12. Attach the release archive generated in the 6th step by dragging it into the area located below the release notes
13. Click *Publish release* to make the release
14. **IMPORTANT!** bump `ppktstore.__version__` (e.g. `0.1.17-dev0`), commit the change, and push the commit to GitHub to start the next development iteration
12. Click on *Generate release notes* button to add what's changed into the release notes
13. Attach the release archive generated in the 6th step by dragging it into the area located below the release notes
14. Click *Publish release* to make the release
15. **IMPORTANT!** bump `ppktstore.__version__` (e.g. `0.1.17-dev0`), commit the change, and push the commit to GitHub to start the next development iteration
Done!
312 changes: 138 additions & 174 deletions PhenopacketStoreStats.ipynb

Large diffs are not rendered by default.

0 comments on commit 1650990

Please sign in to comment.