Code Monkey home page Code Monkey logo

app-rewriteversion's People

Contributors

grinnz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

app-rewriteversion's Issues

Feature request: a way to actually make $VERSION a trial version

Thank you for this tool - I have recently started using perl-bump-version in my development (e.g., blatant plug :) ). I tripped over the -t option to perl-bump-version just now because it doesn't actually affect the version. The synopsis for perl-bump-version says that -t will "mark version as a trial version". I thought that meant it would add an underscore or -TRIAL marker. However, as the docs for App::RewriteVersion point out, that's not what is_trial does.

Would you be willing to add a new option that will, in addition to adding # TRIAL to the source code, also add -TRIAL (or bump to -TRIAL1 &c.) to the contents of $VERSION? E.g.:

  • 0.001001 -> 0.001001-TRIAL when run with the new option
  • 0.001001 -> 0.001002 as usual when run without the new option
  • 0.001001-TRIAL -> 0.001001-TRIAL1 -> 0.001001-TRIAL2 ... when run with the new option
  • 0.001001-TRIAL (or -TRIALn for any n =~ /\d+/) -> 0.001002 when run without the new option

Thank you for considering this request!

Support package NAME VERSION

Declaring a package version in the package statement has been supported since perl 5.12, we should support modifying those versions. Also potential "class NAME VERSION" would be easy to additionally support.

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.