Versioning and Release Skill
This skill provides the standard procedure for bumping versions and managing releases in the Rolodink monorepo. It ensures that all distributed components (Extension variants and Website) are synchronized and follow semantic versioning.
Version Locations
When bumping the Extension version (e.g., from 1.1.4 to 1.1.5), you MUST update all of the following files:
- •
linkedin-crm-extension/manifest.json(Chrome/Edge base) - •
linkedin-crm-extension/manifest-firefox.json(Firefox-specific) - •
linkedin-crm-extension/package.json(Root extension package) - •
linkedin-crm-extension/ui/package.json(Extension UI package) - •
website/package.json(Website package, if related to a release) - •
CHANGELOG.md(Root level)
Automation
Use the scripts/bump-version.sh script to automate this process and avoid missing files.
bash
# Example usage ./scripts/bump-version.sh 1.1.5
Release Tag Convention
- •Extension:
ext-vX.Y.Z(e.g.,ext-v1.1.4) - •Website:
web-vX.Y.Z(e.g.,web-v1.2.0)
[!IMPORTANT] Always verify the
CHANGELOG.mdis updated before tagging a release. The tag should correspond to the version defined in the manifests.
Common Failures to Avoid
- •Mismatched Manifests: Firefox validation will fail if
manifest-firefox.jsondoes not match the tagged version. - •Authentication Secrets: Ensure
CHROME_CLIENT_SECRETandEDGE_CLIENT_SECRETare up to date in GitHub Secrets. - •Release Notes: Never use GitHub's auto-generate feature without review; it often misses variable replacements. Use a dedicated
RELEASE_NOTES_vX.Y.Z.mdfile.
Verification Checklist
- • Run
grep -r "X.Y.Z" .to ensure no old version strings remain in key manifest/package files. - • Verify
git tagpresence. - • Check GitHub Actions logs for "Authentication failed" or "Version conflict" errors.