From 74e3e802f65eb64bfe63be2e2a6c7cd01653cac2 Mon Sep 17 00:00:00 2001 From: Michael Hoffert Date: Mon, 10 Sep 2018 11:20:13 -0600 Subject: [PATCH] APP_NAME and APP_VSN calculation needs to run in the right directory (#531) --- docs/guides/building_in_docker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/building_in_docker.md b/docs/guides/building_in_docker.md index 9e84c2c4..0d3a8b48 100644 --- a/docs/guides/building_in_docker.md +++ b/docs/guides/building_in_docker.md @@ -59,11 +59,11 @@ First, our build script, in `bin/build`, would look something like this: set -e +cd /opt/build + APP_NAME="$(grep 'app:' mix.exs | sed -e 's/\[//g' -e 's/ //g' -e 's/app://' -e 's/[:,]//g')" APP_VSN="$(grep 'version:' mix.exs | cut -d '"' -f2)" -cd /opt/build - mkdir -p /opt/build/rel/artifacts # Install updated versions of hex/rebar