Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 879 Bytes

File metadata and controls

34 lines (23 loc) · 879 Bytes

Releasing

This repo hosts multiple extensions. Releases are per extension, not per repo.

Tag Format

Use extension-name/vX.Y.Z (example: usage-extension/v0.1.2).

Steps

  1. Update the extension's CHANGELOG.md.
  2. Optionally refresh compatibility notes in the extension README.
  3. Bump the extension version in its package.json and bump the repo version in the root package.json (ensure it is not marked private when publishing).
  4. Publish to npm (both packages):
# Extension-specific package
cd <extension-dir>
npm publish --access public

# Repo-wide pi-extensions package
cd <repo-root>
npm publish --access public
  1. Tag and push the release:
git tag -a usage-extension/v0.1.2 -m "usage-extension v0.1.2"
git push origin usage-extension/v0.1.2
  1. Create a GitHub release from the tag and paste the notes from the changelog.