diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 18:42:04 +0100 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:42 +0100 |
commit | e384daaf4c7d6b19431cc441865d9a4d98dcb420 (patch) | |
tree | 03ba9e0bf4a1d4053d780e57b8797bb469df64a6 | |
parent | Finish renaming IRC to Nola.Irc, refs T77. (diff) |
fix version generation when branches have a slash in their name
-rw-r--r-- | mix.exs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ defmodule Nola.Mixfile do defp version(v) do {describe, 0} = System.cmd("git", ~w(describe --dirty --broken --all --tags --long)) - [_, rest] = String.split(describe, "/") + [_, rest] = String.split(describe, "/", parts: 2) info = String.trim(rest) env = cond do Mix.env() == :prod -> "" |