woylie / bumper

Mix task for bumping versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bumper

Dirty little mix task that saves you 5 seconds of your time by bumping the version of an Elixir project in mix.exs, README.md and CHANGELOG.md all at once.

Assumptions

  • The version in mix.exs is assigned to a module attribute (e.g. @version "0.1.0").
  • README.md has installation instructions for adding the mix dependency (e.g. {:my_library, "~> 0.1.0}).
  • The changelog uses the keep a changelog format and has an ## Unreleased header.

Installation

Add :bumper as a mix dependency.

def deps do
  [
    {:bumper, github: "woylie/bumper"}
  ]
end

Usage

mix bump patch
mix bump minor
mix bump major

Alternative

Use the fish function bump.fish to do the same.

About

Mix task for bumping versions

License:MIT License


Languages

Language:Elixir 100.0%