Use git sha

This commit is contained in:
Jamil Bou Kheir
2021-12-15 17:43:14 -08:00
parent e2bab17efb
commit 8e5bcb3e5c

View File

@@ -47,7 +47,7 @@ build do
env = with_standard_compiler_flags(with_embedded_path).merge(
"MIX_ENV" => "prod",
"VERSION" => Omnibus::BuildVersion.semver,
"GIT_SHA" => git_sha_tag
"GIT_SHA" => Omnibus::BuildVersion.git_describe.split(".").last
)
command "mix local.hex --force", env: env