Skip to content

Commit

Permalink
Use dynamic version in mix.exs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Kuzmins committed Apr 1, 2019
1 parent da0ca94 commit 76656b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule ElixirDruid.MixProject do
def project do
[
app: :elixir_druid,
version: "1.0.0",
version: System.cmd("git", ["describe", "--tags"]) |> elem(0) |> String.trim_trailing |> String.trim_leading("v"),
elixir: "~> 1.8.1",
start_permanent: Mix.env() == :prod,
description: "Client library for sending requests to Druid.",
Expand Down

0 comments on commit 76656b4

Please sign in to comment.