Skip to content

Commit df57134

Browse files
wevtimoteoamadeu01
andcommitted
Expose package version in GitPair.version fn
Co-authored-by: amadeu01 <amadeu01@users.noreply.github.com>
1 parent 1786717 commit df57134

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/git_pair.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ defmodule GitPair do
22
@moduledoc """
33
Documentation for `GitPair`.
44
"""
5+
6+
@version Mix.Project.config[:version]
7+
8+
def version(), do: @version
59
end

0 commit comments

Comments
 (0)