pubversion 1.0.0

  • Readme
  • Changelog
  • Installing
  • 50

Pub Package Build Status Dart Version GitHub issues CodeFactor

A command-line tool for easily incrementing pubspec.yaml version numbers.

Installation #

pubversion is not meant to be used as a dependency. Instead, it should be "activated".

$ pub global activate pubversion
# or
$ flutter pub global activate pubversion

Learn more about activating and using packages here.

Usage #

pubversion provides three commands:

  • major
  • minor
  • patch

pubversion major #

$ pubversion major
test_package upgraded from 1.2.1 to 2.0.0

pubversion minor #

$ pubversion minor
test_package upgraded from 1.0.1 to 1.1.0

pubversion patch #

$ pubversion patch
test_package upgraded from 1.0.0 to 1.0.1

1.0.0 #

  • Initial release with all features working.

1.0.0-rc.2 #

  • Spelling corrections.
  • Set up Travis CI.

1.0.0-rc.1 #

  • Initial working version.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate pubversion

2. Use it

The package has the following executables:


$ pubversion
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Nov 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Maintenance issues and suggestions

Fix analysis_options.yaml.

The analyzer can't parse analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
args ^1.5.2 1.5.2
io ^0.3.2+1 0.3.3
path ^1.5.1 1.6.4
pub_semver ^1.3.2 1.4.2
pubspec_parse ^0.1.4 0.1.5
Transitive dependencies
charcode 1.1.2
checked_yaml 1.0.2
collection 1.14.12
json_annotation 3.0.0
meta 1.1.8
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
yaml 2.2.0