Semver tags like v3.0.0, v3.1.0 are immutable — once pushed, they must never be force-updated or deleted. Tag protection rules enforce this.
Rolling tags like v3 point to the latest patch in their major line. After creating a new semver tag, update the rolling tag:
git tag -fa v3 v3.x.y
git push origin v3 --forceOnly gitleaks org members should update rolling tags.
- Ensure
dist/is up to date:npm ci && npx ncc build src/index.js -o dist - Verify the
verify-distCI check passes - Merge the PR to
master - Create the semver tag:
git tag v3.x.y && git push origin v3.x.y - Update the rolling tag (see above)
- Create a GitHub Release from the semver tag with changelog notes