pub_version_plus
3.1.3, released 2 years ago by mrgnhnt.com
Command-line tool to easily increment version numbers in pubspec.yaml files.
What it does
Pub_version_plus provides a command-line utility to increment major, minor, patch, and build numbers within a pubspec.yaml file. It supports flags for handling pre-releases and customizing build number modifications.
AI-written summary of version 3.1.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to automate version bumping in your CI/CD pipelines.
- You need a quick CLI command to increment pubspec.yaml versions locally.
Skip it when
- You need a version management library that works programmatically inside your application runtime rather than as a build/dev tool.
Strengths
- Supports multiple increment types (major, minor, patch, build).
- Can be used globally or as a dev dependency in CI/CD.
- Provides flexible build number options (reset, remove, increment, none).
Weaknesses
- Limited to modifying pubspec.yaml version formats.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
Install globally via pub/flutter or add it as a dev dependency in pubspec.yaml.
pubversion major --pre-release betaAlternatives
Packages that do the same job and could replace pub_version_plus.
- config
Typed CLI argument and config file parser with env support
84Compare - mime
Utilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
92Compare - yaml_modify
A library for modifying YAML files.
44Compare - pubspec_manager
Type-safe API to read, modify, and write pubspec.yaml while preserving comments.
78Compare
Works with
Packages commonly used together with pub_version_plus: ones it builds on, ones built on it, and its own family.
- pub_semverpub_version_plus depends on itVersions and version constraints implementing pub's versioning policy.
- iopub_version_plus depends on itUtilities for the Dart VM Runtime including ANSI colors, file copying, and exit code values.
- pubspec_parsepub_version_plus depends on itParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- argspub_version_plus depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- filepub_version_plus depends on itPluggable, mockable file system abstraction for Dart with in-memory support.