From d6814de257d5495c90bdd39dd9f7c7b8891b08d1 Mon Sep 17 00:00:00 2001 From: Sloane Date: Thu, 6 Jul 2023 12:55:09 -0400 Subject: [PATCH] include changelog (#8) --- CHANGELOG.md | 17 +++++++++++++++++ mix.exs | 14 ++++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f6ec4f6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +## 0.2.1 + +- Include CHANGELOG in docs + +## 0.2.0 + +Validate against 0.2.0 spec + +## 0.1.0 + +Validate against 0.1.0 spec + +## 0.0.1 + +Initial release diff --git a/mix.exs b/mix.exs index 497d82f..7941313 100644 --- a/mix.exs +++ b/mix.exs @@ -1,17 +1,20 @@ defmodule TypeID.MixProject do use Mix.Project + @version "0.2.0" + def project do [ app: :typeid_elixir, - version: "0.2.0", + version: @version, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "TypeID Elixir", - source_url: "https://github.com/sloanelybutsurely/typeid-elixir" + source_url: "https://github.com/sloanelybutsurely/typeid-elixir", + docs: docs() ] end @@ -30,6 +33,13 @@ defmodule TypeID.MixProject do ] end + defp docs do + [ + main: "TypeID", + extras: ["CHANGELOG.md"] + ] + end + defp deps do [ {:uniq, "~> 0.5.4"},