From 7bb0e8f2cdc33da389d7ad221251097764c1a092 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Wed, 24 Sep 2025 21:46:31 -0400 Subject: [PATCH] Add changelog to hex.pm links --- mix.exs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mix.exs b/mix.exs index 658b0e3..f5e114d 100644 --- a/mix.exs +++ b/mix.exs @@ -1,13 +1,14 @@ defmodule Circuits.I2C.MixProject do use Mix.Project + @app :circuits_i2c @version "2.1.0" @description "Use I2C in Elixir" - @source_url "https://github.com/elixir-circuits/circuits_i2c" + @source_url "https://github.com/elixir-circuits/#{@app}" def project do [ - app: :circuits_i2c, + app: @app, version: @version, elixir: "~> 1.13", description: @description, @@ -58,9 +59,9 @@ defmodule Circuits.I2C.MixProject do ], licenses: ["Apache-2.0"], links: %{ + "Changelog" => "https://hexdocs.pm/#{@app}/changelog.html", "GitHub" => @source_url, - "REUSE Compliance" => - "https://api.reuse.software/info/github.com/elixir-circuits/circuits_i2c" + "REUSE Compliance" => "https://api.reuse.software/info/github.com/elixir-circuits/#{@app}" } } end