fix parser version check
This commit is contained in:
parent
c87b58a2df
commit
bd534da1ac
2 changed files with 3 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
|
||||||
FROM ${BUILDER_IMAGE} AS builder
|
FROM ${BUILDER_IMAGE} AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update -y && apt-get install -y --no-install-recommends build-essential git curl \
|
RUN apt-get update -y && apt-get install -y --no-install-recommends build-essential git curl \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
3
mix.exs
3
mix.exs
|
|
@ -130,7 +130,8 @@ defmodule Aprsme.MixProject do
|
||||||
defp get_version do
|
defp get_version do
|
||||||
case System.get_env("PARSER_GIT_HASH") do
|
case System.get_env("PARSER_GIT_HASH") do
|
||||||
nil -> "0.1.0"
|
nil -> "0.1.0"
|
||||||
hash -> hash
|
"unknown" -> "0.1.0"
|
||||||
|
hash -> "0.0.0-#{hash}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue