@zocks-communications/metrics-service-client-sdk-js
v2.0.2
Published
Client SDK for Zocks Metrics Service
Readme
metrics-service-client-sdk-js
Release
Production Release
To release a new version to both GitHub Packages Registry (GPR) and npm.js:
Create a release and publish to GPR - Trigger the
publish-release-gpr.yamlworkflow:- Select a version bump level:
patch,minor, ormajor - This workflow will:
- Bump the version in
package.json - Create a git commit with the new version
- Create a GitHub release with the version tag
- Build and publish the package to GitHub Packages Registry
- Bump the version in
- Select a version bump level:
Publish to npm.js - After the GPR release is complete, manually trigger the
publish-npmjs.yamlworkflow:- This workflow will build and publish the package to npm.js
- Note: The published version must already exist in your git history for npm authentication to work
Pre-release / Snapshot Release
Pre-release versions are automatically published to GitHub Packages Registry when pushing to any branch except main:
- The
publish-prerelease.yamlworkflow automatically triggers on push - Creates a snapshot version with the branch name appended (e.g.,
1.0.0-feature-branch-snapshot.1) - Publishes to GPR for testing before a production release
