From 4b09b318c50bed430d853943e0ef784677a35c4b Mon Sep 17 00:00:00 2001 From: Eric Saxby Date: Sun, 26 May 2024 15:34:47 -0700 Subject: [PATCH] Release v1.0.0 --- CHANGELOG.md | 6 ++++++ mix.exs | 21 +++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..dff976c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +## Change log + +## 1.0.0 + +- Initial release. +- Adds `Ecto.Email` type for schemas with email address fields. diff --git a/mix.exs b/mix.exs index e8349a9..2f3e165 100644 --- a/mix.exs +++ b/mix.exs @@ -1,6 +1,8 @@ defmodule EctoEmail.MixProject do use Mix.Project + @scm_url "https://github.com/synchronal/ecto_email" + def application, do: [ extra_applications: [:logger] @@ -19,14 +21,17 @@ defmodule EctoEmail.MixProject do aliases: aliases(), app: :ecto_email, deps: deps(), + description: "An Ecto.Type for email address fields", dialyzer: dialyzer(), docs: docs(), elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), - homepage_url: "https://github.com/synchronal/ecto_email", - source_url: "https://github.com/synchronal/ecto_email", + homepage_url: @scm_url, + name: "Ecto.Email", + package: package(), + source_url: @scm_url, start_permanent: Mix.env() == :prod, - version: "0.1.0" + version: "1.0.0" ] # # # @@ -61,9 +66,17 @@ defmodule EctoEmail.MixProject do defp docs, do: [ main: "Ecto.Email", - extras: ["LICENSE.md"] + extras: ["LICENSE.md", "CHANGELOG.md"] ] defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] + + defp package, + do: [ + files: ~w(lib .formatter.exs mix.exs *.md), + licenses: ["MIT"], + maintainers: ["synchronal.dev", "Erik Hanson", "Eric Saxby"], + links: %{"GitHub" => @scm_url} + ] end