pub_release 1.0.0

  • Readme
  • Changelog
  • Installing
  • new60

Pub Release is a package to assist in publishing dart/flutter packages to pub.dev.

Pub Release performs the following operations:

  • Formats all code using dartfmt
  • Increments the version no. using semantic versioning after asking what sort of changes have been made.
  • Creates a dart file containing the version no. in src/version/version.g.dart
  • Updates the pubspec.yaml with the new version no.
  • If you are using Git:
    • Generates a Git Tag using the new version no.
    • Generates release notes from commit messages since the last tag.
  • Allows you to edit the release notes.
  • Adds the release notes to CHANGELOG.MD along with the new version no.
  • Publishes the package to pub.dev.

1.0.0 #

Fixed a bug where it failed to detect that git was being used. Fixed a bug where it throws an error if a tag doesn't already exist.

0.1.4 #

released 0.1.4 Release of version 0.1.3 Update .gitignore Merge pull request #1 from bsutton/add-license-1 Create LICENSE initial commit

0.1.4 #

Fixed the change log :) Added new option to keep the current version.

0.1.2 #

Added a new option to keep the current version.

0.1.1 #

Added a missing 'executeables' statement from pubspec.yaml

0.1.0 #

First release of pub_release

0.1.0 #

First release of pub_release

0.1.1 #

0.1.0 #

My first release

0.1.0 #

My first release.

1.0.0 #

  • Initial version, created by Stagehand

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate pub_release

2. Use it

The package has the following executables:


$ pub_release

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  pub_release: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:pub_release/pub_release.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
24
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
60
Learn more about scoring.

We analyzed this package on Jul 3, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Analysis suggestions

Package not compatible with SDK flutter

Because it is not compatible with any of the supported runtimes: flutter-native, flutter-web

Package not compatible with runtime flutter-native on android

Because of the import of dart:cli via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/string_as_process.dartpackage:dshell/src/util/runnable_process.dartpackage:dshell/src/util/parse_cli_command.dartpackage:dshell/src/script/command_line_runner.dartpackage:dshell/src/script/commands/run.dartpackage:dshell/src/script/commands/commands.dartpackage:dshell/src/script/commands/upgrade.dartpackage:dshell/src/script/project_cache.dartpackage:dshell/src/script/virtual_project.dartpackage:dshell/src/script/pub_get.dartpackage:dshell/src/script/dart_sdk.dartdart:cli

Package not compatible with runtime flutter-native on ios

Because of the import of dart:cli via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/string_as_process.dartpackage:dshell/src/util/runnable_process.dartpackage:dshell/src/util/parse_cli_command.dartpackage:dshell/src/script/command_line_runner.dartpackage:dshell/src/script/commands/run.dartpackage:dshell/src/script/commands/commands.dartpackage:dshell/src/script/commands/upgrade.dartpackage:dshell/src/script/project_cache.dartpackage:dshell/src/script/virtual_project.dartpackage:dshell/src/script/pub_get.dartpackage:dshell/src/script/dart_sdk.dartdart:cli

Package not compatible with runtime flutter-native on linux

Because of the import of dart:cli via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/string_as_process.dartpackage:dshell/src/util/runnable_process.dartpackage:dshell/src/util/parse_cli_command.dartpackage:dshell/src/script/command_line_runner.dartpackage:dshell/src/script/commands/run.dartpackage:dshell/src/script/commands/commands.dartpackage:dshell/src/script/commands/upgrade.dartpackage:dshell/src/script/project_cache.dartpackage:dshell/src/script/virtual_project.dartpackage:dshell/src/script/pub_get.dartpackage:dshell/src/script/dart_sdk.dartdart:cli

Package not compatible with runtime flutter-native on macos

Because of the import of dart:cli via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/string_as_process.dartpackage:dshell/src/util/runnable_process.dartpackage:dshell/src/util/parse_cli_command.dartpackage:dshell/src/script/command_line_runner.dartpackage:dshell/src/script/commands/run.dartpackage:dshell/src/script/commands/commands.dartpackage:dshell/src/script/commands/upgrade.dartpackage:dshell/src/script/project_cache.dartpackage:dshell/src/script/virtual_project.dartpackage:dshell/src/script/pub_get.dartpackage:dshell/src/script/dart_sdk.dartdart:cli

Package not compatible with runtime flutter-native on windows

Because of the import of dart:cli via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/string_as_process.dartpackage:dshell/src/util/runnable_process.dartpackage:dshell/src/util/parse_cli_command.dartpackage:dshell/src/script/command_line_runner.dartpackage:dshell/src/script/commands/run.dartpackage:dshell/src/script/commands/commands.dartpackage:dshell/src/script/commands/upgrade.dartpackage:dshell/src/script/project_cache.dartpackage:dshell/src/script/virtual_project.dartpackage:dshell/src/script/pub_get.dartpackage:dshell/src/script/dart_sdk.dartdart:cli

Package not compatible with runtime flutter-web on web

Because of the import of dart:isolate via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/with_lock.dartdart:isolate

Package not compatible with runtime web

Because of the import of dart:isolate via the import chain package:pub_release/pub_release.dartpackage:pub_release/version.dartpackage:dshell/src/pubspec/pubspec_file.dartpackage:dshell/src/pubspec/pubspec.dartpackage:dshell/src/util/wait_for_ex.dartpackage:dshell/src/util/stack_trace_impl.dartpackage:dshell/src/util/truepath.dartpackage:dshell/dshell.dartpackage:dshell/src/util/with_lock.dartdart:isolate

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and pub_release.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.8.1 <3.0.0
dshell ^1.8.14 1.8.14
pub_semver ^1.0.0 1.4.4
Transitive dependencies
args 1.6.0
asn1lib 0.6.5
async 2.4.1
basic_utils 2.5.4
charcode 1.1.3
collection 1.14.13
convert 2.1.1
crypto 2.1.5
csv 4.0.3
equatable 1.2.0
file 5.2.1
file_utils 0.1.4
glob 1.2.0
globbing 0.3.1
http 0.12.1
http_parser 3.1.4
ini 2.0.1
intl 0.16.1
js 0.6.2
json_annotation 3.0.1
logger 0.9.1
logging 0.11.4
matcher 0.12.8
meta 1.1.8
money2 1.4.0 2.0.0-nonnullable.1
node_interop 1.1.1
node_io 1.1.1
path 1.7.0
pointycastle 1.0.2
pubspec 0.1.4
quiver 2.1.3
random_string 2.1.0
source_span 1.7.0
stack_trace 1.9.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0
uri 0.11.3+1
utf 0.9.0+5
uuid 2.2.0
validators 2.0.1
vin_decoder 0.1.2
yaml 2.2.1
Dev dependencies
pedantic ^1.9.0 1.9.0 1.9.1
test ^1.14.4