This repository uses an automated versioning system that follows semantic versioning with a beta-vX.Y.Z format.
The system automatically analyzes commit messages and bumps versions based on Conventional Commits:
feat:- New features → Minor version bump (e.g.,beta-v0.1.1→beta-v0.2.0)fix:- Bug fixes → Patch version bump (e.g.,beta-v0.1.1→beta-v0.1.2)BREAKING CHANGE:or!:- Breaking changes → Major version bump (e.g.,beta-v0.1.1→beta-v1.0.0)
When a version bump occurs, the system automatically:
- ✅ Updates the
VERSIONfile in the repository root - ✅ Updates the
@versionfield in ALL.user.jsfiles (including subfolders) - ✅ Creates a commit with the changes
- ✅ Creates a git tag with the new version
- ✅ Creates a GitHub release (marked as prerelease)
The automation runs on every push to the main branch. To trigger a version bump:
- Make your changes
- Commit using conventional commit format:
git commit -m "feat: add new awesome feature" git commit -m "fix: resolve issue with user script" git commit -m "feat!: breaking change that requires major bump"
- Push to main branch:
git push origin main
You can also manually trigger the workflow from the GitHub Actions tab using the "Run workflow" button.
To skip version bumping for a commit (e.g., documentation updates), include [skip ci] in your commit message:
git commit -m "docs: update README [skip ci]"- Format:
beta-vX.Y.Z - Current:
beta-v0.1.1(check theVERSIONfile) - Location: Version is stored in
/VERSIONand synchronized to all.user.jsfiles
| Commit Message | Version Change | Example |
|---|---|---|
feat: add new site support |
Minor bump | beta-v0.1.1 → beta-v0.2.0 |
fix: resolve checkbox detection |
Patch bump | beta-v0.1.1 → beta-v0.1.2 |
feat!: change API completely |
Major bump | beta-v0.1.1 → beta-v1.0.0 |
docs: update README [skip ci] |
No change | beta-v0.1.1 (unchanged) |
- No version bump? Check that your commit message follows conventional commits format
- Wrong bump type? Ensure you're using the correct prefix (
feat:,fix:, etc.) - Want to skip? Add
[skip ci]to your commit message - Need manual trigger? Use the "Actions" tab → "Bump Version" → "Run workflow"