Skip to content

Commit 7c68ca9

Browse files
Merge pull request #432 from wojtekmach/wm-updates
Update package & docs configuration
2 parents 824fd35 + c29f14e commit 7c68ca9

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

mix.exs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
defmodule Sentry.Mixfile do
22
use Mix.Project
33

4+
@version "8.0.2"
5+
@source_url "https://github.com/getsentry/sentry-elixir"
6+
47
def project do
58
[
69
app: :sentry,
7-
version: "8.0.2",
10+
version: @version,
811
elixir: "~> 1.10",
912
description: "The Official Elixir client for Sentry",
1013
package: package(),
@@ -14,7 +17,12 @@ defmodule Sentry.Mixfile do
1417
plt_add_deps: :app_tree,
1518
plt_add_apps: [:mix, :plug, :hackney]
1619
],
17-
docs: [extras: ["README.md"], main: "readme"],
20+
docs: [
21+
extras: ["README.md"],
22+
source_ref: "#{@version}",
23+
source_url: @source_url,
24+
main: "readme"
25+
],
1826
xref: [exclude: [:hackney, :hackney_pool, Plug.Conn]]
1927
]
2028
end
@@ -42,11 +50,11 @@ defmodule Sentry.Mixfile do
4250

4351
defp package do
4452
[
45-
files: ["lib", "LICENSE", "mix.exs", "README.md"],
53+
files: ["lib", "LICENSE", "mix.exs", "README.md", "CHANGELOG.md"],
4654
maintainers: ["Mitchell Henke", "Jason Stiebs"],
4755
licenses: ["MIT"],
4856
links: %{
49-
"github" => "https://github.com/getsentry/sentry-elixir"
57+
"GitHub" => @source_url
5058
}
5159
]
5260
end

0 commit comments

Comments
 (0)