Skip to content

Commit

Permalink
Force production build environment for releases (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
alalamav authored Mar 24, 2021
1 parent 3023a69 commit 403f082
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server_manager/electron_app/release_linux_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

source src/server_manager/scripts/fill_packaging_opts.sh "$0" "$@"

export BUILD_ENV='production'

yarn 'do' server_manager/electron_app/build
yarn 'do' server_manager/electron_app/write_production_environment

Expand Down
2 changes: 2 additions & 0 deletions src/server_manager/electron_app/release_macos_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ fi

source src/server_manager/scripts/fill_packaging_opts.sh "$0" "$@"

export BUILD_ENV='production'

yarn 'do' server_manager/electron_app/build
yarn 'do' server_manager/electron_app/write_production_environment

Expand Down
2 changes: 2 additions & 0 deletions src/server_manager/electron_app/release_windows_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

source src/server_manager/scripts/fill_packaging_opts.sh "$0" "$@"

export BUILD_ENV='production'

yarn 'do' server_manager/electron_app/build
yarn 'do' server_manager/electron_app/write_production_environment

Expand Down

0 comments on commit 403f082

Please sign in to comment.