Skip to content

Commit

Permalink
APP_NAME and APP_VSN calculation needs to run in the right directory (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mahcloud authored and bitwalker committed Sep 10, 2018
1 parent 97a5e0a commit 74e3e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/building_in_docker.md
Expand Up @@ -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
Expand Down

0 comments on commit 74e3e80

Please sign in to comment.