forked from openware/baseapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: disable obfuscation and domain's lock by default
- Loading branch information
Oleksandr Khlopiachyi
authored and
Camille Meulien
committed
Jan 11, 2021
1 parent
3993722
commit fb6772a
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
export REACT_APP_GIT_SHA=$(git rev-parse --short HEAD) | ||
export BUILD_DOMAIN=${BUILD_DOMAIN:-$(cat .domains)} | ||
export BUILD_DOMAIN=$(test -e .domains && cat .domains) | ||
[ -n "$BUILD_EXPIRE" ] && export REACT_APP_BUILD_EXPIRE=$(date -d "+${BUILD_EXPIRE}" +%s000) | ||
|
||
yarn build |