Skip to content

Commit

Permalink
Add macos release script
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyc committed Jun 2, 2024
1 parent 3bec707 commit dec874c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build_scripts/release-macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

set -e
set -x

export MIX_ENV=prod
export SECRET_KEY_BASE=$(mix phx.gen.secret)

rm -rf _build/
mix clean --all
mix deps.get --only prod
yarn install --cwd assets
mix assets.deploy
mix release

0 comments on commit dec874c

Please sign in to comment.