ML
Size: a a a
ML
ML
ML
ML
ML
ŹR
ML
ML
ML
ŹR
ML
ŹR
ML
VS
project do
[
app: :merchant_api,
version: app_version()
defp app_version do
{git_desc, 0} = System.cmd("git", ~w[describe])
case git_desc |> String.trim() |> String.split("-") do
["v" <> major_minor] ->
major_minor
["v" <> major_minor, _patch, git_commit_id] ->
"#{major_minor}+ref-#{git_commit_id}"
end
end
ML
ifeq (,$(VERSION))
VERSION=$(shell git describe --abbrev=7 --long | sed 's/^v//g' | sed 's/\.0/\./g')
endif
ML
ŹR
ŹR
ŹR
ŹR