Skip to content

feat: configure semantic-release with hybrid versioning#2

Open
andy317fe301f8c7 wants to merge 1 commit into
auth0:masterfrom
andy317fe301f8c7:feat/semantic-release-config
Open

feat: configure semantic-release with hybrid versioning#2
andy317fe301f8c7 wants to merge 1 commit into
auth0:masterfrom
andy317fe301f8c7:feat/semantic-release-config

Conversation

@andy317fe301f8c7

@andy317fe301f8c7 andy317fe301f8c7 commented Jun 16, 2026

Copy link
Copy Markdown

Summary

Configures this fork for automated versioning and publishing with semantic-release, using a hybrid version format that tracks both the upstream release and internal changes.

Changes

  • Add .releaserc.js — semantic-release config using the hybrid tag format 5.0.1-auth0-<semver> and the commit-analyzer, release-notes-generator, npm, and exec plugins
  • Add semantic-release devDependencies to package.json
  • Update repository URLs in package.json from dcodeIO/protobuf.js to auth0/protobuf.js (repository, bugs, homepage)
  • Document the versioning scheme in README.md

Context

PR protobufjs#7 added semantic-release configuration, but a few things needed to be corrected:

  1. The fork's package.json still pointed repository, bugs, and homepage at the original dcodeIO upstream
  2. semantic-release needs an explicit repositoryUrl so it does not fall back to the original upstream URL
  3. Versions follow the hybrid format 5.0.1-auth0-<semver> (e.g., 5.0.1-auth0-1.0.0), where 5.0.1 is the upstream version this fork is based on and the -auth0-<semver> suffix tracks internal changes

Releases are driven by conventional commit messages on the master branch (fix: → patch, feat: → minor, BREAKING CHANGE: → major).

Test plan

  • npx semantic-release --dry-run resolves the corrected repositoryUrl
  • Confirmed the hybrid tag format produces 5.0.1-auth0-<semver> tags

Adds semantic-release config for the auth0 fork and updates the
upstream repository URLs in package.json (dcodeIO -> auth0).

- Add .releaserc.js with hybrid tag format (5.0.1-auth0-<semver>)
- Add semantic-release devDependencies
- Point repository/bugs/homepage URLs at auth0/protobuf.js
- Document the versioning scheme in the README

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@andy317fe301f8c7 andy317fe301f8c7 force-pushed the feat/semantic-release-config branch from 6403ffa to 22a9620 Compare June 16, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant