Skip to content

Commit

Permalink
chore: use git tag version instead
Browse files Browse the repository at this point in the history
  • Loading branch information
boolafish committed Dec 9, 2020
1 parent fef32f8 commit 19a879f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

3 changes: 1 addition & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ defmodule OMG.Umbrella.MixProject do
defp docker(), do: if(System.get_env("DOCKER"), do: "_docker", else: "")

defp current_version() do
sha = String.replace(elem(System.cmd("git", ["rev-parse", "--short=7", "HEAD"]), 0), "\n", "")
"#{String.trim(File.read!("VERSION"))}" <> "+" <> sha
String.replace(elem(System.cmd("git", ["describe", "--tags"]), 0), "\n", "")
end

defp steps() do
Expand Down

0 comments on commit 19a879f

Please sign in to comment.