Skip to content

Commit

Permalink
Move source_url to module attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Sep 27, 2019
1 parent a0f1a18 commit ea9781f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ defmodule VintageNetWizard.MixProject do
use Mix.Project

@version "0.1.0"
@source_url "https://github.com/nerves-networking/vintage_net_wizard"

def project do
[
Expand Down Expand Up @@ -46,7 +47,7 @@ defmodule VintageNetWizard.MixProject do
"README.md"
],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/nerves-networking/vintage_net_wizard"}
links: %{"GitHub" => @source_url}
}
end

Expand Down Expand Up @@ -75,7 +76,7 @@ defmodule VintageNetWizard.MixProject do
extras: ["README.md", "json-api.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/nerves-networking/vintage_net_wizard"
source_url: @source_url
]
end

Expand Down

0 comments on commit ea9781f

Please sign in to comment.