Current section

Files

Jump to
rodar_release lib mix tasks rodar_release.patch.ex
Raw

lib/mix/tasks/rodar_release.patch.ex

defmodule Mix.Tasks.RodarRelease.Patch do
@shortdoc "Bump the patch version and release"
@moduledoc """
Bumps the patch version and creates a release.
Use for backward-compatible bug fixes that don't add new functionality.
mix rodar_release.patch # 1.0.8 -> 1.0.9
mix rodar_release.patch --dry-run # preview changes
## Options
* `--dry-run` - show what would happen without making any changes
"""
use Mix.Task
@impl Mix.Task
def run(args) do
Mix.Tasks.RodarRelease.Bump.run(:patch, args)
end
end