ultranomic/Auto Version Bump with Gemini
Analyze git changes using Gemini AI and automatically bump semantic version
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| gemini-api-key | Gemini API key for change analysis | yes | — |
| diff-range | Git diff range to analyze (e.g., HEAD~1..HEAD or tag..HEAD) | no | HEAD~1..HEAD |
| package-name | Package name for version checking (auto-detected from package.json, setup.py, go.mod, or README) | no | "" |
| project-type | Project type for analysis (auto-detected from file structure, or specify: typescript-library, node-package, react-app, python-package, go-module, generic) | no | auto |
| custom-prompt | Custom analysis prompt (overrides project-type templates) | no | "" |
| main-files | Main source files/patterns that indicate API changes (e.g., "src/index.ts,src/api/*.ts") | no | "" |
| dry-run | Only analyze changes without bumping version | no | false |
| auto-push | Automatically push version bump commit and tag to GitHub | no | true |
| model | Gemini model to use for analysis (e.g., gemini-2.0-flash, gemini-1.5-flash, gemini-1.5-pro) | no | gemini-2.0-flash |
Outputs
| name | description |
|---|---|
| version-bump | Recommended version bump type (major, minor, patch) |
| current-version | Current version before bump |
| new-version | New version after bump (only if not dry-run) |
| needs-bump | Whether version bump is needed |
| version-bumped | Whether version was actually bumped |
| changelog | Generated changelog for this version |