diff options
| author | Ivan Tashkinov <ivant.business@gmail.com> | 2019-06-21 17:19:29 +0300 |
|---|---|---|
| committer | Ivan Tashkinov <ivant.business@gmail.com> | 2019-06-21 17:19:29 +0300 |
| commit | 259ffe00620ae8dd0cbfd5313024107e59f96ffc (patch) | |
| tree | 952b9e676c7b2813164f67ea1f23874d17eedfe7 | |
| parent | f07003e2183c4e13a428614bd0ce39c9e84e2da2 (diff) | |
| download | pleroma-259ffe00620ae8dd0cbfd5313024107e59f96ffc.tar.gz pleroma-259ffe00620ae8dd0cbfd5313024107e59f96ffc.zip | |
Fixed branch name substitutions for mix version (to comply to SemVer format).
| -rw-r--r-- | mix.exs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ defmodule Pleroma.Mixfile do true <- branch_name != "master" do branch_name = String.trim(branch_name) - |> String.replace(~r/[\W_]+/, "-") + |> String.replace(~r/[^0-9a-z\-\.]+/i, "-") "-" <> branch_name end |
