Skip to content

Commit 7d66ff8

Browse files
committed
Tau - use tau.release mix action in app build scripts
1 parent 12a1d20 commit 7d66ff8

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

app/linux-post-tau-prod-release.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ if [ "$offline_build" == true ]; then
3434
MIX_ENV=prod mix deps.compile
3535
MIX_ENV=prod mix release --overwrite --no-deps-check
3636
else
37-
MIX_ENV=prod mix local.hex --force
38-
MIX_ENV=prod mix local.rebar --force
39-
MIX_ENV=prod mix deps.get
40-
MIX_ENV=prod mix release --overwrite
37+
MIX_ENV=prod mix tau.release
4138
fi
4239

4340
# Restore working directory as it was prior to this script running...

app/win-post-tau-prod-release.bat

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@ cd %~dp0
66

77
cd %~dp0\server\beam\tau
88

9-
SET MIX_ENV=prod
10-
11-
rem Changes here should be matched in app\server\beam\tau\boot-win.bat
12-
cmd /c mix local.hex --force
13-
cmd /c mix local.rebar --force
14-
cmd /c mix deps.get
15-
cmd /c mix release --overwrite
16-
17-
cd %~dp0\server\beam\tau
9+
set MIX_ENV=prod
10+
cmd /c mix tau.release
1811

1912
cd %WORKING_DIR%

0 commit comments

Comments
 (0)