diff --git a/scripts/update_version.exs b/scripts/update_version.exs index 5f31c64..fa87feb 100644 --- a/scripts/update_version.exs +++ b/scripts/update_version.exs @@ -3,7 +3,7 @@ defmodule UpdateVersion do @mix_exs_file "./mix.exs" @readme_file "./README.md" @mix_version_regex ~r/@version \"(?.*)\"/ - @readme_version_regex ~r/{:yamel, \"~> (?.*)\"}/ + @readme_version_regex ~r/{:pretty_loggex, \"~> (?.*)\"}/ def update() do with {:ok, version} <- get_version(), @@ -51,7 +51,7 @@ defmodule UpdateVersion do def update_readme(readme, version) do IO.puts("Updating #{@readme_file}...") - readme = String.replace(readme, @readme_version_regex, "{:yamel, \"~> #{version}\"}") + readme = String.replace(readme, @readme_version_regex, "{:pretty_loggex, \"~> #{version}\"}") case File.write!(@readme_file, readme) do :ok ->