Code Monkey home page Code Monkey logo

pubversion's Introduction

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

pubversion's People

Contributors

megamattmiller avatar

Stargazers

Christopher Coffee avatar  avatar

Watchers

James Cloos avatar

pubversion's Issues

How do you increment build number (Flutter projects)

Hi. I'm just wondering how to increase my flutter build number alongside the actual version? For instance, if I have current version and build number set as version: 1.0.8+8, how do I get it to write version: 1.0.9+9? Or is it not possible with this package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.