Code Monkey home page Code Monkey logo

updateversion's Introduction

update-version

GitHub Build Nuget

update-version is a developer tool to update the .NET project versions.

Setup update-version

Install update-version via the following command:

$ dotnet tool install -g Monbsoft.UpdateVersion

How To Use

Run update-version --help for information about usage.

update-version:
  Developer tool to update the Visual Studio project versions.

Usage:
  update-version [options] [command]

Options:
  -?, -h, --help    Show help and usage information
  --version         Show version information

Commands:
  list             Lists all project versions
  major            Increment major version number
  minor            Increment minor version number
  patch            Increment patch version number
  build            Increment build version number
  pre              Increment pre-release version number
  set <version>    Set the version of the projects.

Usage

Update minor version

Update minor versions with the following command:

$ update-version minor

Set version

Set versions with following command:

$ update-version set 1.0.2

Update Major version with git commit

Update major versions via the following command:

$ update-version major  --message "Change version"

Git options

Git options via the following command:

Options:
  -m, --message <message>                    Message of the git commit
  -a, --add                                  All files in the entire working tree
  -t, --tag                                  Tag of the git commit

Credit

  • Jon Grythe Stødle, [jonstodle / DotnetVersion], DotnetVersion : A simple tool to update the version number of your project. If you know of "yarn version", this is that for NET.
  • David Fallah,[TAGC / dotnet-setversion], dotnet-setversion: .NET Core CLI tool to update the version information in .NET Core *.csproj files.
  • [dotnet / tye], Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
  • [dotnet / command-line-api],command-line-api: Command line parsing, invocation, and rendering of terminal output.

updateversion's People

Contributors

oliver254 avatar sungam3r avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

sungam3r

updateversion's Issues

Définir un buildNumber

En tant qu'utilisateur, je souhaite pouvoir définir un buildNumber afin de raffiner plus que patchNumber la version
ex: 1.0.0-beta+15

Définir la version

En tant qu'utilisateur, je souhaite définir la version des projets que j'ai choisi

Placer les nouveaux fichiers sous suivi de version

En tant qu'utilisateur, je souhaite pouvoir placer les nouveaux fichiers sous suivi de version afin d'enregistrer les modification dans le dépôt
Ajouter une option pour ajouter les nouveaux fichiers sous git
ex: update-version minor -a -m "test"

Ajouter un commit git

En tant qu'utilisateur, je souhaite faire un commit git afin que les différentes versions soient enregistrées automatiquement

Ajouter un tag git

En tant qu'utilisateur, je souhaite d'ajouter un tag git quand je modifie la version.

Lister les projets

En tant qu'utilisateur, je souhaite lister les projets ou une solution afin de connaître les différentes versions
ex:
src/Project1/project1.csproj -> 1.15.0

Définir la pre-release version

En tant qu'utilisateur, je souhaite définir la version de la pre-release afin de générer cette version dans tous les projets

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.