From 53e9cd49f27bdfc4e9e29cfb9d74048c3b5be85f Mon Sep 17 00:00:00 2001 From: Victor Presumido Date: Wed, 28 Mar 2018 15:02:37 -0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Assets=20compile=20in=20prod?= =?UTF-8?q?uction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .deliver/config | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 " } From 6915e7458ea9caedce313ba8ee522058ad585ce7 Mon Sep 17 00:00:00 2001 From: Victor Presumido Date: Wed, 28 Mar 2018 15:23:13 -0300 Subject: [PATCH 2/2] Bump app version to 0.5.0 --- rel/config.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,