diff --git a/.deliver/config b/.deliver/config index 1d95511..677f60b 100644 --- a/.deliver/config +++ b/.deliver/config @@ -37,14 +37,15 @@ pre_erlang_clean_compile() { # echo \$PATH # check if rbenv is in the path set -e # fail if any command fails (recommended) # Building assets is unnecessary - # cd '$BUILD_AT' # enter the build directory on the build host (required) + cd '$BUILD_AT' # enter the build directory on the build host (required) # prepare something - # mkdir -p priv/static # required by the phoenix.digest task - # npm install + mkdir -p priv/static # required by the phoenix.digest task - # ./node_modules/brunch/bin/brunch build --production + cd '$BUILD_AT/apps/bot/assets/' # enter the build directory on the build host (required) + + (npm install && ./node_modules/brunch/bin/brunch build --production) # run your custom task - # APP='$APP' MIX_ENV='$TARGET_MIX_ENV' $MIX_CMD phoenix.digest $SILENCE + APP='$APP' MIX_ENV='$TARGET_MIX_ENV' $MIX_CMD phx.digest $SILENCE " } diff --git a/rel/config.exs b/rel/config.exs index ed12052..cd9fc8b 100644 --- a/rel/config.exs +++ b/rel/config.exs @@ -46,7 +46,7 @@ end # will be used by default release :erlich do - set version: "0.2.0" + set version: "0.5.0" set applications: [ :runtime_tools, :edeliver,