Steps to release a new version of phyx.js (e.g. vX.Y.Z).
Create a branch named release-phyx.js-vX.Y.Z and open a PR against master.
In the PR:
- Update
CHANGELOG.md— move items from[Unreleased]into a new[X.Y.Z] - YYYY-MM-DDsection. - Bump the version in
package.jsonto the final release versionX.Y.Z(not an alpha) before merging. - Regenerate documentation — run
npm run docsand commit the updateddocs/tree.
Get the PR reviewed and approved, but do NOT merge it until after successfully publishing it to NPM.
npm publish --access publicVerify the new version appears at https://www.npmjs.com/package/@phyloref/phyx.
git tag vX.Y.Z
git push origin vX.Y.ZThen create a GitHub release for the tag (via the GitHub UI or gh release create vX.Y.Z).
The GitHub release triggers an automatic Zenodo deposit. Check that a new versioned DOI has been minted at https://zenodo.org (search for "phyx.js").
Once the Zenodo DOI is available, update CITATION.cff:
version:vX.Y.Zdate-released: the release date (YYYY-MM-DD)- The versioned DOI identifier (
identifiers[1].value): the new Zenodo DOI - Leave the concept DOI (
10.5281/zenodo.5576556) unchanged — it always resolves to the latest version.
Once all of the above steps have been successfully carried out, merge the release PR.