feat: configure semantic-release with hybrid versioning#2
Open
andy317fe301f8c7 wants to merge 1 commit into
Open
feat: configure semantic-release with hybrid versioning#2andy317fe301f8c7 wants to merge 1 commit into
andy317fe301f8c7 wants to merge 1 commit into
Conversation
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>
6403ffa to
22a9620
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
.releaserc.js— semantic-release config using the hybrid tag format5.0.1-auth0-<semver>and thecommit-analyzer,release-notes-generator,npm, andexecpluginspackage.jsonpackage.jsonfromdcodeIO/protobuf.jstoauth0/protobuf.js(repository,bugs,homepage)README.mdContext
PR protobufjs#7 added semantic-release configuration, but a few things needed to be corrected:
package.jsonstill pointedrepository,bugs, andhomepageat the originaldcodeIOupstreamrepositoryUrlso it does not fall back to the original upstream URL5.0.1-auth0-<semver>(e.g.,5.0.1-auth0-1.0.0), where5.0.1is the upstream version this fork is based on and the-auth0-<semver>suffix tracks internal changesReleases are driven by conventional commit messages on the
masterbranch (fix:→ patch,feat:→ minor,BREAKING CHANGE:→ major).Test plan
npx semantic-release --dry-runresolves the correctedrepositoryUrl5.0.1-auth0-<semver>tags