Code Monkey home page Code Monkey logo

mix-bump's People

Contributors

matthewoden avatar oo6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

matthewoden

mix-bump's Issues

Versioning major and minor should reset preceding values.

For example, If I'm on 1.2.7, bumping minor should make the version 1.3.0. Current behavior sets the mix version at 1.3.7.

  • When bumping a major version, minor should be set to 0, and patch should be set to 0
  • When bumping a minor version, patch should be set to 0
  • When bumping a patch version, other values should not be affected (current behavior)

I should be able to throw a quick PR on this sometime tomorrow night. Seems like it'd just be hard-coding 0 on lines 17 and 25 of mix-bump.ex, and tossing an underscore in front of unused arguments.

Annotated tags for automatic github releases

So I've been using this for a bit, and kind of manually creating releases in github after tagging.

At least for github/github enterprise, this could be automated. We could generate releases from the command line by using -a for annotated tags, over the default simple tags.

def tag(version, message) do
  Command.execute("git tag -a #{version} -m #{message}")
end

This would change the nature of tags for users of mix bump. Not sure if it does any harm, but maybe not everyone wants annotated tags.

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.